Commit Graph

173 Commits

Author SHA1 Message Date
dbaron@dbaron.org
c633f035a4 Backing out bug 421069 (which I landed earlier today for roc) because it caused bug 424016. 2008-03-19 22:58:00 -07:00
dbaron@dbaron.org
9e7d833654 Don't do translation during table border painting. b=421069 Patch by Robert O'Callahan <roc@ocallahan.org>. r+sr=dbaron 2008-03-19 16:02:38 -07:00
dbaron@dbaron.org
f31447da64 Fixing asymmetry between what timeless landed for bug 394114 and what he backed out. 2008-03-19 15:05:04 -07:00
timeless@mozdev.org
f33eb4a3b4 reverting, wrong patch, missing AMBIGUOUS 2008-03-19 14:55:22 -07:00
bzbarsky@mit.edu
71f4c3f4b8 Comment fix 2008-03-16 17:22:54 -07:00
bzbarsky@mit.edu
b607f1de90 Invalidate tables a little harder. Bug 421632, r+sr=roc 2008-03-16 13:32:48 -07:00
jruderman@hmc.edu
72906022c3 Add a crashtest 2008-03-08 22:37:45 -08:00
surkov.alexander@gmail.com
17652cbd2d Bug 416742 - Regression: multiple rowgroups interfere with getColumnAtIndex(), r=bernd, sr=roc, a=beltzner 2008-03-07 02:14:35 -08:00
dbaron@dbaron.org
898743fc16 Compute the shrink-wrapping size of table outer frames correctly. b=363402 r+sr=roc a1.9b4=beltzner 2008-02-28 09:55:04 -08:00
dbaron@dbaron.org
6447298324 Fix horizontal positions of top and bottom captions in the presence of non-left-aligned tables. b=363248,386704 r+sr=roc a=blocking1.9+ 2008-02-26 18:03:11 -08:00
dbaron@dbaron.org
a6ec36aaa1 Make 'top' and 'bottom' captions follow the CSS2.1 behavior and put the old behavior into 'top-outside' and 'bottom-outside'. b=363248,386704 r+sr=roc a=blocking1.9+ 2008-02-26 18:02:20 -08:00
dbaron@dbaron.org
5ddc11de0c Split nsTableOuterFrame::OuterReflowChild. b=363248,386704 r+sr=roc a=blocking1.9+ 2008-02-26 18:01:33 -08:00
dholbert@cs.stanford.edu
efc080a9fb Bug 413180: Stop distributing span pct-width to cols when there are only 0-width cols left. r+sr=dbaron a=beltzner 2008-02-22 09:15:27 -08:00
dholbert@cs.stanford.edu
2bbfd20d93 Bug 413286: Let empty auto-width columns be expanded. r+sr=dbaron a=blocking1.9+ 2008-02-21 19:25:56 -08:00
bmlk@gmx.de
adfea54748 adding crashtests 2008-02-20 21:20:34 -08:00
bmlk@gmx.de
2821c28b31 expand the cellmap to cover empty content rows when rebuilding the cellmap bug 351326 r/sr=bzbarsky a=mtschrep 2008-02-20 21:11:36 -08:00
bmlk@gmx.de
31a48f3747 make the lineiterator interface for tables a little more sane bug 388700 r/sr=roc a=mtschrep 2008-02-20 12:22:18 -08:00
fantasai.cvs@inkedblade.net
d4dc37580f switch GetOverflowAreaProperty callers to GetOverflowRect b=417116 r+sr=roc a=roc 2008-02-19 23:08:55 -08:00
jag@tty.nl
057bc17743 Bug 73353: Clean up our MODULE/REQUIRES story. rs=dbaron, a=brendan 2008-02-18 00:50:04 -08:00
bzbarsky@mit.edu
b868c2220d Make sure that changes to the "span" attribute on a colgroup actually work. Bug 404309, r=bernd, sr=dbaron, a=beltzner 2008-02-14 20:19:28 -08:00
bmlk@gmx.de
e8a8395029 document the lineiterator interface and all its current flaws. Make :GetNextSiblingOnLine more efficient. bug 388700 r/sr=roc a=mtschrep 2008-02-09 09:10:58 -08:00
bzbarsky@mit.edu
8b8a07f4a7 Fix bug 416073: invalidate more things as needed during table reflow to prevent glitches. r+sr=roc 2008-02-08 01:36:32 -08:00
surkov.alexander@gmail.com
cb05baabd9 Bug 410052 - bustage fix on windows 2008-02-06 23:23:00 -08:00
surkov.alexander@gmail.com
d35a90484c Bug 410052 - Fix our nsHTMLAccessibleTable class so GetIndexAt and GetRowAtIndex and GetColumnAtIndex behave consistently, patch=me, marcoz, r=marcoz, me, bernd, sr=roc, blocking1.9+=dsicore 2008-02-06 23:03:26 -08:00
bzbarsky@mit.edu
5dd3d3e48e Don't invalidate the entire table just because we reflowed something inside it. Bug 414298, r+sr+a=roc 2008-02-06 14:01:41 -08:00
dholbert@cs.stanford.edu
ab4b6e0c48 Bug 403669 - Dirty the table geometry when we split row groups. r+sr=dbaron, a=blocking1.9+ 2008-01-26 17:54:48 -08:00
bmlk@gmx.de
b87613ce0a do not compare with a unconstrained size, bug 390049 r/sr=roc a=mtschrep 2008-01-19 22:42:31 -08:00
bmlk@gmx.de
d4884cc771 remove dead code, bug 282009 r/sr=roc a=mtschrep 2008-01-19 22:34:03 -08:00
dholbert@cs.stanford.edu
2d3395bf81 Bug 368504: Create and use DistributeWidthToColumns for colspan-width and table-width distribution. r+sr=dbaron a=blocking1.9+ 2008-01-17 20:18:21 -08:00
mats.palmgren@bredband.net
41aa517a29 Add a null-check to wallpaper bug 411582. b=411582 r+sr=bzbarsky a=mtschrep 2008-01-15 15:29:53 -08:00
jruderman@hmc.edu
2bf3a7eca8 Adding a crashtest 2008-01-06 15:27:19 -08:00
jruderman@hmc.edu
e177e1b027 Add crashtest 2008-01-05 22:17:05 -08:00
jruderman@hmc.edu
dd56ef7661 Add crashtest 2008-01-05 21:03:55 -08:00
jruderman@hmc.edu
235c9a0f6e Add crashtests 2008-01-04 23:01:34 -08:00
jruderman@hmc.edu
1bad4bbffe Add a crashtest 2008-01-04 20:48:46 -08:00
jruderman@hmc.edu
36782297d9 Add crashtest 2008-01-04 20:14:54 -08:00
jruderman@hmc.edu
09a23e534c Add crashtest for WFM bug 2008-01-04 17:31:25 -08:00
roc+@cs.cmu.edu
fb28ffc853 Bug 407889. Reduce dynamic memory allocations during event handling by having nested invocations of HitTest share a single buffer for reordering display items; this buffer is an nsAutoTArray so it's mostly stack-allocated. r+sr=mats 2008-01-03 18:08:29 -08:00
roc+@cs.cmu.edu
0162b3ede9 Bug 408749. Reflow captions with unconstrained height, because we have no logic to reflow their continuations. r+sr=bzbarsky 2007-12-20 19:25:36 -08:00
jruderman@hmc.edu
82a6f4d33e Add crashtest 2007-12-16 22:38:48 -08:00
jruderman@hmc.edu
41cbcd52e7 Add crashtests 2007-12-16 22:37:33 -08:00
jruderman@hmc.edu
50cb7faa8a Out of the frying pan, into the crashtest! 2007-12-16 22:30:27 -08:00
jruderman@hmc.edu
45ac68e3dd Add crashtest 2007-12-16 22:27:04 -08:00
jruderman@hmc.edu
4fcfcc4c0d Add crashtests 2007-12-16 22:05:02 -08:00
jruderman@hmc.edu
91ce42d2d5 Add crashtest 2007-12-16 21:56:48 -08:00
jruderman@hmc.edu
f1f7aba2e3 Add crashtests 2007-12-16 21:55:32 -08:00
jruderman@hmc.edu
fa003590dc Elvis has left the crashtest. 2007-12-16 21:52:57 -08:00
jruderman@hmc.edu
dad42fe2aa Add crashtest 2007-12-16 21:51:36 -08:00
jruderman@hmc.edu
8f9c09a87a Add crashtests 2007-12-16 21:41:10 -08:00
jruderman@hmc.edu
5256e1558f Add crashtests 2007-12-16 21:33:53 -08:00
jruderman@hmc.edu
8025e2d7a8 Add a crashtest 2007-12-16 21:23:00 -08:00
jruderman@hmc.edu
a8aece244a Add crashtest 2007-12-16 21:21:42 -08:00
jruderman@hmc.edu
e87a9c5e0b To explore strange new crashtests. [Commit message suggested by JoeS] 2007-12-16 20:48:42 -08:00
jruderman@hmc.edu
51ca39d585 Add crashtests 2007-12-16 20:22:22 -08:00
jruderman@hmc.edu
09333dc21b Add crashtest 2007-12-16 19:08:21 -08:00
jruderman@hmc.edu
3626ee9ece Add crashtest! 2007-12-16 19:06:31 -08:00
jruderman@hmc.edu
b0f8f73ac8 Add crashtest 2007-12-16 18:41:22 -08:00
jruderman@hmc.edu
7fd07fd96c In space, no one can hear you crashtest. 2007-12-15 19:47:22 -08:00
jruderman@hmc.edu
78fff2e7af Add crash test 2007-12-15 18:48:45 -08:00
jruderman@hmc.edu
98618c08f9 De-bust 2007-12-15 17:32:00 -08:00
jruderman@hmc.edu
0e9f9d1d65 A nun, a priest, and a rabbi walk into a crashtest... 2007-12-15 16:56:27 -08:00
jruderman@hmc.edu
26ebe152fc I, for one, welcome our new crashtest overlords. 2007-12-15 14:21:58 -08:00
jruderman@hmc.edu
63ac3c018c Add crashtest 2007-12-15 14:19:06 -08:00
bmlk@gmx.de
55b29989dc fix handling of empty rowgroups (that are rg without a row beneath) in the border collapse code (bug 383193 r/sr=bzbarsky a=mtschrep 2007-12-15 12:23:10 -08:00
jruderman@hmc.edu
7a40e75915 Add crashtest for bgu 284844. 2007-12-15 11:28:49 -08:00
bmlk@gmx.de
58193a56aa Implement row height distribution as it was described in the comment. Consider to give space to empty unconstrained rows as one option bug 197391 r/sr=roc a=mtschrep 2007-12-15 08:08:52 -08:00
bzbarsky@mit.edu
722a530cca Remove dead code. Bug 404666 followup, r=bernd, sr=roc, a=schrep 2007-12-05 11:38:26 -08:00
roc+@cs.cmu.edu
277d659675 Bug 383195. Recreate support for repeatable table headers and footers while printing. r=bernd,sr=dbaron 2007-12-04 18:32:56 -08:00
bzbarsky@mit.edu
db2d5658a7 Fix bug 404666 by making spanned colframes be continuations of the col that spans them. r=bernd, sr=roc, a=schrep 2007-12-02 23:45:06 -08:00
bmlk@gmx.de
448be7cc89 when splitting rowgroups the space that is left on the page is computed from relative to the bottom, bug 373400 r=sharparrow1 sr=dbaron a=blocking 1.9+ 2007-12-02 11:19:00 -08:00
Olli.Pettay@helsinki.fi
2976ce8f18 Bug 368760, r=mats, sr=roc, a=blocking1.9+ 2007-11-22 12:47:33 -08:00
bzbarsky@mit.edu
a8ad8d5724 When inserting a col into a colgroup after a col with span, insert it after the last columnframe spanned by the span. Bug 404301, r=bernd, sr=roc, a=schrep 2007-11-19 20:29:40 -08:00
bzbarsky@mit.edu
71abc8fcc3 The frame model depends on the span attribute, so changing span should reconstruct frames. Bug 403249, r=bernd, sr=roc 2007-11-18 10:56:49 -08:00
dbaron@dbaron.org
579235bed6 Rename new width keywords to match CSS WG decision. b=402706 r+sr=bzbarsky a=blocking1.9+ 2007-11-15 10:10:31 -08:00
dholbert@cs.stanford.edu
0d749513dd Bug 403579: Don't scale up width by a pct when it's nscoord_MAX. Also, use NSCoordSaturating function with guess_pref since it could be nscoord_MAX. r+sr=roc, a=mtschrep 2007-11-15 10:04:16 -08:00
dholbert@cs.stanford.edu
1e2ca67c12 Bug 402893: don't scale up col prefWidth by % if it's nscoord_MAX. r+sr=roc, a=mtschrep 2007-11-15 09:59:49 -08:00
dbaron@dbaron.org
625b15b895 Distribute height to rows even if the rows in question are all zero-height (in which case, distribute it equally). b=403656, 377711 r=dholbert sr=roc a=blocking1.9+ 2007-11-13 17:24:21 -08:00
dholbert@cs.stanford.edu
9bcc1f30f0 Bug 403519: Support cells w/ prefWidth=nscoord_MAX when computing column intrinsic widths. r+sr=roc, a=mtschrep 2007-11-12 17:11:20 -08:00
roc+@cs.cmu.edu
0239fded6b Bug 397428. Return 'complete' on *all* paths whenever we push a rowgroup to the next page. r=bernd,sr=bzbarsky,a=schrep 2007-11-11 17:45:56 -08:00
bzbarsky@mit.edu
342e008ef0 Make sure to remove anonymous cols created by a <col span="n"> when that col is removed. Bug 399209, r=bernd, sr+a=roc 2007-11-08 22:05:19 -08:00
bzbarsky@mit.edu
8b49db7d2a If we moved but did not reflow either the caption or the inner table, invalidate the relevant area. Bug 379353, r=bernd, sr=roc 2007-11-07 09:17:30 -08:00
dholbert@cs.stanford.edu
bfeb48e02e Bug 385823 - Let us call NotifyPercentHeight even when computed height is already set, because it'll be set on imageFrames. r+sr=dbaron, a=beltzner 2007-11-06 14:47:29 -08:00
reed@reedloden.com
9930afe4ba Bug 368600 - "Table with table-layout: fixed has unconstrained width even when width specified on cell" [p=bernd_mozilla@gmx.de (Bernd) r+sr+a1.9=dbaron] 2007-10-21 21:40:02 -07:00
fantasai.cvs@inkedblade.net
95c1b1c8ad nsTableCellMap::InsertRows shouldn't make damage area smaller, b=244135 p=malcolm.parsons r+sr=bz a=roc 2007-10-19 07:41:29 -07:00
fantasai.cvs@inkedblade.net
5728e0c20d fantasai is clearly having process troubles 2007-10-15 20:08:48 -07:00
fantasai.cvs@inkedblade.net
738be0d0d1 nsTableCellMap::InsertRows shouldn't make damage area smaller, b=244135 p=malcolm.parsons r+sr=bz a=roc 2007-10-15 20:06:36 -07:00
fantasai.cvs@inkedblade.net
03dc1015c3 using wrong BC damage area for BC calculations b=244135 p=malcolm.parsons r=bernd r=fantasai (credits for a good review go to Bernd Mielke, blame for a bad one to fantasai) sr=bz 2007-10-14 21:49:45 -07:00
bzbarsky@mit.edu
4f5bba9acb Make sure to not propagate special height reflows too far. Bug 391901, r+sr+a=dbaron 2007-10-08 19:39:06 -07:00
dholbert@cs.stanford.edu
7cdd6c0279 Bug 398157: Fix nscoord_MAX arithmetic using NSCoordSaturatingSubtract. r=roc sr=roc a=roc 2007-10-01 14:44:50 -07:00
dholbert@cs.stanford.edu
8e054fcf60 Bug 397448 - "ASSERTION: Doing nscoord addition with values > nscoord_MAX" with percentage margin in table cell. r=roc sr=roc approval19=roc 2007-09-26 09:32:50 -07:00
dholbert@cs.stanford.edu
ecb8184e90 Bug 367673, Handle width-computation arithmetic with nscoord_MAX. r=roc sr=roc a1.9=roc 2007-09-24 10:30:42 -07:00
cbarrett@mozilla.com
4184694ede Bug 370353 followup: Check in white space changes. Patch by Daniel Holbert <dholbert@mozilla.com>. r=bernd sr=dbaron a1.9=dbaron. 2007-08-17 16:58:19 -07:00
cbarrett@mozilla.com
392dc16f4f Bug 370353: Dynamically setting "visibility: collapse" to a <col> no longer works. Patch by Daniel Holbert <dholbert@mozilla.com>. r=bernd sr=dbaron a1.9=dbaron 2007-08-17 16:51:58 -07:00
bmlk@gmx.de
8169bea74e adapt assert to code reality, bug 364512 r/sr/a=dbaron 2007-08-11 09:19:55 -07:00
masayuki@d-toybox.com
6c98d90d68 Bug 365336 text-decoration width should be rounded to the device pixels r+sr=roc 2007-08-06 01:15:00 -07:00
ginn.chen@sun.com
9a8c1632f4 Bug 389793 Firefox build failed on OpenSolaris without --disable-mochitest r=benjamin a=dsicore 2007-08-05 20:22:32 -07:00
dbaron@dbaron.org
1dfc2637bf Prefer distributing the width of a column-spanning cell to columns without specified widths, and make a specified width on a column-spanning cell not cause the column to be considered to have a specified width. b=379361 Patch by Daniel Holbert <dholbert@mozilla.com>. r+sr=dbaron 2007-08-02 17:07:29 -07:00
bzbarsky@mit.edu
ebcca4dbd4 Make sure to reflow the caption if it gets inserted into our table before another caption. Bug 389924, r=bernd, sr+a=dbaron 2007-08-02 14:34:58 -07:00
bzbarsky@mit.edu
21e0d65a42 Introduce a setter for nsHTMLReflowState::mComputedHeight so that we're sure to
update the resize flags properly.  Bug 388084, r+sr+a=dbaron
2007-08-02 11:08:05 -07:00
roc+@cs.cmu.edu
61373b8418 Bug 379349. Add support for 'overflow containers' --- special frame continuations that do not map any content of their own, but serve only as containers for laying out children that overflowed their parents' content height. patch by fantasai, r+sr=eli,roc 2007-07-25 21:03:29 -07:00