1402 Commits

Author SHA1 Message Date
dholbert%cs.stanford.edu
6e3e4c8262 Bug 403519: Support cells w/ prefWidth=nscoord_MAX when computing column intrinsic widths. r+sr=roc, a=mtschrep
git-svn-id: svn://10.0.0.236/trunk@239245 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-13 01:11:20 +00:00
roc+%cs.cmu.edu
506ec62563 Bug 397428. Return 'complete' on *all* paths whenever we push a rowgroup to the next page. r=bernd,sr=bzbarsky,a=schrep
git-svn-id: svn://10.0.0.236/trunk@239177 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-12 01:45:57 +00:00
bzbarsky%mit.edu
e9736338c9 Make sure to remove anonymous cols created by a <col span="n"> when that col is
removed.  Bug 399209, r=bernd, sr+a=roc


git-svn-id: svn://10.0.0.236/trunk@239018 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-09 06:05:19 +00:00
bzbarsky%mit.edu
618a61f7f2 If we moved but did not reflow either the caption or the inner table,
invalidate the relevant area.  Bug 379353, r=bernd, sr=roc


git-svn-id: svn://10.0.0.236/trunk@238909 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-07 17:17:30 +00:00
dholbert%cs.stanford.edu
a5783ae5f6 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
git-svn-id: svn://10.0.0.236/trunk@238602 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-06 22:47:29 +00:00
reed%reedloden.com
36d9c50da8 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]
git-svn-id: svn://10.0.0.236/trunk@237981 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-22 04:40:02 +00:00
fantasai.cvs%inkedblade.net
c5e73bc89c nsTableCellMap::InsertRows shouldn't make damage area smaller, b=244135 p=malcolm.parsons r+sr=bz a=roc
git-svn-id: svn://10.0.0.236/trunk@237914 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-19 14:41:29 +00:00
fantasai.cvs%inkedblade.net
942e18e4e7 fantasai is clearly having process troubles
git-svn-id: svn://10.0.0.236/trunk@237809 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-16 03:08:49 +00:00
fantasai.cvs%inkedblade.net
c5acec66ac nsTableCellMap::InsertRows shouldn't make damage area smaller, b=244135 p=malcolm.parsons r+sr=bz a=roc
git-svn-id: svn://10.0.0.236/trunk@237808 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-16 03:07:12 +00:00
fantasai.cvs%inkedblade.net
e207ba35be 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
git-svn-id: svn://10.0.0.236/trunk@237746 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-15 04:49:52 +00:00
bzbarsky%mit.edu
313dd1a271 Make sure to not propagate special height reflows too far. Bug 391901, r+sr+a=dbaron
git-svn-id: svn://10.0.0.236/trunk@237442 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-09 02:39:06 +00:00
dholbert%cs.stanford.edu
18a8c2d4ec Bug 398157: Fix nscoord_MAX arithmetic using NSCoordSaturatingSubtract.
r=roc sr=roc a=roc


git-svn-id: svn://10.0.0.236/trunk@237020 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-01 21:44:50 +00:00
dholbert%cs.stanford.edu
9453798fee Bug 397448 – "ASSERTION: Doing nscoord addition with values > nscoord_MAX" with percentage margin in table cell. r=roc sr=roc approval19=roc
git-svn-id: svn://10.0.0.236/trunk@236715 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-26 16:32:50 +00:00
dholbert%cs.stanford.edu
665a4e2bad Bug 367673, Handle width-computation arithmetic with nscoord_MAX. r=roc sr=roc a1.9=roc
git-svn-id: svn://10.0.0.236/trunk@236556 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-24 17:30:43 +00:00
cbarrett%mozilla.com
d767071314 Bug 370353 followup: Check in white space changes. Patch by Daniel Holbert <dholbert@mozilla.com>. r=bernd sr=dbaron a1.9=dbaron.
git-svn-id: svn://10.0.0.236/trunk@232309 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-17 23:58:19 +00:00
cbarrett%mozilla.com
3dee750216 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
git-svn-id: svn://10.0.0.236/trunk@232307 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-17 23:51:58 +00:00
bmlk%gmx.de
c19c90bd7a adapt assert to code reality, bug 364512 r/sr/a=dbaron
git-svn-id: svn://10.0.0.236/trunk@231893 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-11 16:19:55 +00:00
masayuki%d-toybox.com
a8014a587a Bug 365336 text-decoration width should be rounded to the device pixels r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@231524 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-06 08:15:02 +00:00
ginn.chen%sun.com
7103fbf947 Bug 389793 Firefox build failed on OpenSolaris without --disable-mochitest
r=benjamin a=dsicore


git-svn-id: svn://10.0.0.236/trunk@231518 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-06 03:22:43 +00:00
dbaron%dbaron.org
5c52e22d2b 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
git-svn-id: svn://10.0.0.236/trunk@231384 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-03 00:07:40 +00:00
bzbarsky%mit.edu
858861db17 Make sure to reflow the caption if it gets inserted into our table before
another caption.  Bug 389924, r=bernd, sr+a=dbaron


git-svn-id: svn://10.0.0.236/trunk@231361 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-02 21:34:59 +00:00
bzbarsky%mit.edu
3524c6eee1 Introduce a setter for nsHTMLReflowState::mComputedHeight so that we're sure to
update the resize flags properly.  Bug 388084, r+sr+a=dbaron


git-svn-id: svn://10.0.0.236/trunk@231323 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-02 18:08:07 +00:00
roc+%cs.cmu.edu
cb8c6e3a11 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
git-svn-id: svn://10.0.0.236/trunk@231012 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 04:03:31 +00:00
bzbarsky%mit.edu
f7c1f17b16 Fix regression in sizing of tables with scrollable rowgroups. Bug 387344,
r=bernd, sr=roc


git-svn-id: svn://10.0.0.236/trunk@229841 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-12 20:54:19 +00:00
jwalden%mit.edu
dda6ff3c99 Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
git-svn-id: svn://10.0.0.236/trunk@229504 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 07:08:56 +00:00
aaronleventhal%moonset.net
79b1187f8f Bug 377783. Fix crash and clean up table a11y. r=evan.yan
git-svn-id: svn://10.0.0.236/trunk@229355 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-05 15:39:30 +00:00
mats.palmgren%bredband.net
fd18364353 Cleanup implementations of QueryInterface. b=385750 r+sr=dbaron r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@229301 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-04 02:15:35 +00:00
sharparrow1%yahoo.com
1fefb19635 Bug 386142: fantasai's li'l Need More Comments bug. Patch by fantasai, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@229291 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-03 22:49:01 +00:00
sharparrow1%yahoo.com
2475e961e4 Bug 372768: {inc}Setting nowrap attribute dynamically does not change layout like it should. r=bzbarsky,sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@229100 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-01 18:42:18 +00:00
dbaron%dbaron.org
e5b45d8c95 Only do special height reflows for percentage-height children of table cells when there is a specified height on the table, row group, row, or cell in the row. b=370525 Patch by Daniel Holbert <dholbert@mozilla.com>. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@228708 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-25 20:34:48 +00:00
dbaron%dbaron.org
26a84c5172 Handle the vertical resizing in the first pass reflow correctly when we've previously done a special height reflow. b=381507 r=dholbert sr=roc
git-svn-id: svn://10.0.0.236/trunk@228269 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-18 23:19:39 +00:00
bzbarsky%mit.edu
f68b71bd43 Make OrderRowGroups type-safe. Bug 367706, r=bernd, sr=roc
git-svn-id: svn://10.0.0.236/trunk@227539 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-05 18:55:27 +00:00
bzbarsky%mit.edu
591e9f78e1 No max-width means "none", not null unit. Bug 381284, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@226900 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-23 19:56:02 +00:00
dbaron%dbaron.org
0b2b5c4a2e Call SetGeometryDirty if we need to call DistributeHeightToRows, since DistributeHeightToRows can't deal with rows that have already had height distributed to them. Patch by Daniel Holbert <dholbert@mozilla.com>. b=380227 r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@226609 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-18 06:04:57 +00:00
dbaron%dbaron.org
fd2e86c15a Remove eCSSUnit_Proportional and eStyleUnit_Proportional, which were used only for a removed feature. b=333352 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@226288 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-11 06:00:26 +00:00
bzbarsky%mit.edu
2679c6fe46 Fix determination of the style context parent for the inner table frame of a
root table.  Bug 379386, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@226104 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-08 03:59:12 +00:00
bzbarsky%mit.edu
ba5badedcb Change the FrameNeedsReflow API to pass the dirty flags to be added directly to
the method, instead of setting them before calling the method.  That way we can
avoid reflowing the ancestor of a reflow root which is not itself dirty but has
dirty children.  This also makes it harder to set dirty bits inconsistently
with the FrameNeedsReflow call.  Bug 378784, r+sr=dbaron, pending rbs' review
on the mathml parts.


git-svn-id: svn://10.0.0.236/trunk@226007 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-06 19:16:52 +00:00
dbaron%dbaron.org
03a83ad9f2 Add support for -moz-intrinsic, -moz-min-intrinsic, -moz-shrink-wrap, and -moz-fill for width, min-width, and max-width. b=311415 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@225554 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-03 23:11:02 +00:00
bzbarsky%mit.edu
a794c3824d Fix bug 379229, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@225246 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-30 06:17:03 +00:00
sayrer%gmail.com
8f75c61448 bug 378487. allocator mismatch in SpanningCellSorter. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@224897 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-23 18:40:07 +00:00
benjamin%smedbergs.us
7262cdad6d Bug 376636 - Building with gcc 4.3 and -pendatic fails due to extra semicolons, patch by Art Haas <ahaas@airmail.net>, rs=me
git-svn-id: svn://10.0.0.236/trunk@224885 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-23 14:22:04 +00:00
bzbarsky%mit.edu
d07baebc96 Give captions the right style context parent when dynamically restyling. Bug
378240, r=bernd, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@224852 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-22 19:15:25 +00:00
sayrer%gmail.com
4aec4dcf7d Bug 368994. move mochitests near the code they test. round 7. r=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@224573 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-16 15:18:50 +00:00
bzbarsky%mit.edu
116d69628c Rename nsIFrame::GetPresContext to nsIFrame::PresContext. Bug 376042, patch by
Taras Glek <tglek@mozilla.com>, rs=roc.


git-svn-id: svn://10.0.0.236/trunk@222659 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-30 21:11:47 +00:00
dbaron%dbaron.org
30f83072c5 Remove unused getKey callback from PLDHashTableOps/JSDHashTableOps. b=374906 r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@222462 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-27 15:33:45 +00:00
dbaron%dbaron.org
411f643f12 Fix logic error handling column-spanning cells with specified widths. b=374819 r+sr=roc a=vlad
git-svn-id: svn://10.0.0.236/trunk@222165 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-21 23:31:38 +00:00
dbaron%dbaron.org
d7c0a892ae Fix handling of specified widths on column-spanning cells. b=363874 r=bernd sr=roc
git-svn-id: svn://10.0.0.236/trunk@222043 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-19 20:26:36 +00:00
bmlk%gmx.de
a47ec2033c mark cellmap if 0 colspans are present for 0 colspan expansion when cells are deleted bug 373390 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@222001 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-17 05:58:15 +00:00
bzbarsky%mit.edu
f8375708bc Get the correct next-in-flow. Bug 373611, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@221837 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-13 21:23:17 +00:00
bmlk%gmx.de
41915a37d1 mark zerocolspans to be expanded if they are inserted rather than appended. bug 372776 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@221427 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-07 05:06:38 +00:00