1280 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
98e8d59a4a Fix asserts by making sure that border-spacing is always computed to coord
values.  Bug 270325, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@165948 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-30 18:30:58 +00:00
roc+%cs.cmu.edu
d6143a38f4 Bug 271869. mBorderWidths need not be per-nsStyleBorder/nsStyleOutline, put it in the prescontext instead. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@165810 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-26 18:40:58 +00:00
bmlk%gmx.de
b232386286 update the block overflow area if we shorten a cell in fixed layout, bug 266868 r/sr=roc
git-svn-id: svn://10.0.0.236/trunk@165348 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-14 14:47:59 +00:00
bmlk%gmx.de
52743ec8c0 Split row groups works only for paginated media bug 268231 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@165259 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-11 17:27:38 +00:00
aaronleventhal%moonset.net
2c7eca3827 Part of bug 250269. Outline missing on some elements. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@165256 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-11 15:21:52 +00:00
aaronleventhal%moonset.net
59b589b964 Bug 250269. Outlines not getting painted on buttons, radios, checkboxes, tables and table cells. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@165254 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-11 15:07:22 +00:00
bmlk%gmx.de
d17e10572f during pseudo frame creation pseudo colgroup frames should not taken into account when analyzing the pseudostackframe depth, bug 266015 r=me sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@165055 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-06 07:07:43 +00:00
bmlk%gmx.de
6f857f9094 fix build bustage
git-svn-id: svn://10.0.0.236/trunk@164704 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-31 16:55:12 +00:00
bmlk%gmx.de
770ad874d6 paint borders rtl in border collapsed tables when dir=rtl is specified for the table, initial patch by dbaron bug 174470 r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@164701 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-31 15:52:52 +00:00
bmlk%gmx.de
73b91d2be3 change ref to pointer to catch spurious crash bug=264733 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@164607 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-29 17:44:29 +00:00
bmlk%gmx.de
3656f2a5e7 fix flawed reflow logic for empty table cells bug 226637 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@164605 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-29 17:31:53 +00:00
bmlk%gmx.de
d48111b27d query the reflow path only during incr. reflow bug 264620 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@163898 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-16 18:21:15 +00:00
bmlk%gmx.de
983e19c75d mark previously destroyed row frame as nsnull so that the pointer will not be reused bug 263738 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@163648 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-13 05:49:39 +00:00
bmlk%gmx.de
9ec70aeffa hide the overflow that results from overconstrained percentage heights inside table cell frames only in quirks mode, bug 245434 r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@163499 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-10 07:31:35 +00:00
bmlk%gmx.de
b11f6f0e87 reorganize CalCDominantBorder, reduce the number of arguments, change the border structure. make the rules handling more evident, bug 229883, With more than a little help from my friends (fantasai, boris) r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@163467 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-09 12:04:52 +00:00
bmlk%gmx.de
e6f5bc2c94 at the table bottom use this row as it is the only place where we dont paint above the row, bug 254538 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@162531 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-19 18:15:37 +00:00
bmlk%gmx.de
6d3feed3dd ensure a correct overflow area, even if the overflow is clipped, it should be the frame size under these conditions bug = 260241 r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@162529 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-19 09:50:41 +00:00
bmlk%gmx.de
796f8717f1 valign content that overflows the table cell from the celltop bug=114430 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@162525 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-18 19:04:13 +00:00
roc+%cs.cmu.edu
ab88d1e1ac Bug 259032. DeCOMtaminate nsIFrame::GetNext/PrevInFlow. r+sr=roc, patch by Will Levine
git-svn-id: svn://10.0.0.236/trunk@162269 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-14 02:28:03 +00:00
bmlk%gmx.de
35e33e2e07 CalcDesiredHeight might change the overflow area, so it needs to be included in the reflowmetrics bug=231275 r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@162220 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-13 18:21:03 +00:00
bmlk%gmx.de
eb73ad615e don't cause twice a initial reflow on a caption bug 258379 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@162132 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-11 06:08:53 +00:00
roc+%cs.cmu.edu
25c92b6a90 Bug 254039. deCOMtaminate nsIScrollableFrame. r+sr=roc, patch by Will Levine
git-svn-id: svn://10.0.0.236/trunk@161806 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-06 02:44:43 +00:00
bmlk%gmx.de
beb1e800a5 1. enhancement of the debug code so that coltypes become visible
2. remove the isanonymous flag which is unused
3. make the col dump routine #ifdef DEBUG
4. stop to defer the appending of the colgroup frame. bug 248474 r/sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@161755 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-04 16:02:50 +00:00
dbaron%dbaron.org
e8aae32dd7 Land bug 72747 in pieces: use new functions for common overflow tests. b=72747 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@161682 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-02 23:27:23 +00:00
bmlk%gmx.de
30843172bf tables without cells should not add vertical cellspacing bug 246534 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@161644 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-02 06:36:56 +00:00
roc+%cs.cmu.edu
c66af173cf Bug 257430. nsImageFrame and nsTableRowFrame need to always include their frame bounds in their overflow area. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@161574 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-01 13:33:17 +00:00
bmlk%gmx.de
deb5280c1e bring condition and action in better sync when oversized nested pct based table frames are reduced in size bug 254344 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@161544 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-31 18:57:06 +00:00
bryner%brianryner.com
43628f9edf More nsIPresShell deCOMtamination:
- Made Get/SetAuthorStyleDisabled and ReconstructStyleData non-virtual when called internally.
- Inlined GetFrameSelection and renamed it to FrameSelection.
- Removed non-inline version of GetViewManager.
- Removed unused EnablePrefStyleRules and ArePrefStyleRulesEnabled.

Bug 253889, r+sr=roc.


git-svn-id: svn://10.0.0.236/trunk@161442 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-29 03:08:44 +00:00
dbaron%dbaron.org
dcf4bae71a Back out the rest of bug 72747 due to Tp regression.
git-svn-id: svn://10.0.0.236/trunk@161373 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-27 01:26:55 +00:00
dbaron%dbaron.org
ed6372cf2f Implement 'overflow-x' and 'overflow-y' CSS properties, long implemented by IE for Windows and proposed for CSS3. Implement scrolling='yes' and equivalents on frame and iframe. Various pieces of related cleanup (see comment 22 in bug). b=72747 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@161333 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-26 17:11:20 +00:00
roc+%cs.cmu.edu
d82b9d3db0 Bug 133165. Draw the outline outside the frame's normal overflow area. r+sr=dbaron. Also, correct some trivial misuses of nsChangeHint, r+sr=mozbot
git-svn-id: svn://10.0.0.236/trunk@161292 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-26 00:07:56 +00:00
bryner%brianryner.com
ff2bc0b69e Trying again to land support for content node properties (bug 253888). r=jst, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@161182 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-24 18:50:29 +00:00
bryner%brianryner.com
2ac3245dec Backing out 253888 again due to Tp regression plus another problem I noticed (frame properties not getting destroyed on frame destruction)
git-svn-id: svn://10.0.0.236/trunk@161116 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-22 07:10:50 +00:00
bryner%brianryner.com
0501b2872a Second try at landing support for content node properties (bug 253888). r=jst, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@161115 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-22 04:58:44 +00:00
bryner%brianryner.com
03c6a8279c Backing out bug 253888 until I can figure out how to fix the crash
git-svn-id: svn://10.0.0.236/trunk@161097 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-21 06:27:54 +00:00
bryner%brianryner.com
e49f4fa38e Refactor the frame property code and use it for supporting properties on dom elements. Bug 253888, r=jst, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@161096 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-21 05:09:50 +00:00
dbaron%dbaron.org
dda1e6cda9 Fix names of constants to correspond to the new definitions of the values of the 'overflow' property. b=69355 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@160586 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-10 01:32:10 +00:00
bryner%brianryner.com
865734bf2f Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
git-svn-id: svn://10.0.0.236/trunk@160184 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-31 23:15:21 +00:00
bryner%brianryner.com
b17b3249f7 Consolidate PresContext classes into a single nsIPresContext implementation, and finish deCOMtaminating it. Bug 253470, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@160067 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-29 19:41:39 +00:00
roc+%cs.cmu.edu
c820f47543 Bug 251501. Refactor handling where frames get inserted on content insertion. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@159417 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-18 12:02:53 +00:00
aaronleventhal%moonset.net
68db552d54 Bug 151375. Implement css2 outline (still called -moz-outline for now). Makes -moz-outline draw outside of the current frame. Improves appearance of focus outline. Lots of help from roc. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@159341 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-16 16:56:21 +00:00
jim_nance%yahoo.com
36c92b47d6 Fix bug 241599 - Speed up table layotu code by reducing GetCellInfoAt() calls. r=bernd sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@159313 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-16 01:49:18 +00:00
aaronleventhal%moonset.net
aac51e9f0b Backing out bug 151375 for now, because of scrolling regressions in HTML and XUL listboxes and comboboxes
git-svn-id: svn://10.0.0.236/trunk@159268 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-15 18:57:47 +00:00
aaronleventhal%moonset.net
c361ea9f16 Bug 151375. Implement css2 outline (still called -moz-outline for now). Makes -moz-outline draw outside of the current frame. Improves appearance of focus outline. Lots of help from roc. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@159196 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-14 21:58:34 +00:00
bmlk%gmx.de
0ec7533f3e empty tables should not have a size in quirks mode. bug 241161 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@157634 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-09 04:13:53 +00:00
roc+%cs.cmu.edu
6eee2bc446 Bug 241454. Enforce the rule that if a frame ever reflows its child asking for MEW, then it *always* reflows the child asking for MEW. r=bernd,sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@157474 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-06 20:45:23 +00:00
bmlk%gmx.de
65d8955787 during incr. reflow table cells have a unconstrained computed size, they need to ensure that a second constrained reflow is issued on the children, bug 237366, initial idea by saito@densan.co.jp r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@157433 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-05 16:59:46 +00:00
bmlk%gmx.de
22419ff22a reset the cell offset when a row becomes again visible, order the rowgroups before collapsing the rows bug 242253 r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@156121 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-08 05:11:29 +00:00
bmlk%gmx.de
96b6ce8c80 remove unused code that causes crashes, bug 242368, p=fantasai r=bernd sr=rbs a=asa
git-svn-id: svn://10.0.0.236/trunk@155999 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-05 16:05:27 +00:00
bmlk%gmx.de
b3d3fb986a add colframe documentation, fix a colframe renumbering problem, bug 238999 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@155857 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-03 18:31:34 +00:00