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
bzbarsky%mit.edu
e6cba3a6a4
Fix bug 371925 -- we need to allow for the case when the prev sibling is at
...
index 0. r=bernd, sr=roc
git-svn-id: svn://10.0.0.236/trunk@221108 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-28 22:42:20 +00:00
bzbarsky%mit.edu
866e7efaa8
When inserting a cell, make sure to properly maintain the mNumCellsSpan of the
...
columns involved. In particular, do NOT decrement it when dead CellData are
removed from the column. Bug 371290, r=bernd, sr=roc
git-svn-id: svn://10.0.0.236/trunk@220830 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-23 17:41:15 +00:00
dbaron%dbaron.org
191e1cf5c9
Remove the remainder of the pixel rounding in the table code. b=371187 r=bernd sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@220757 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-22 20:22:12 +00:00
bmlk%gmx.de
0f6cfd754b
limit array access when a rowspan points to a already pushed row, bug 370360 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@220655 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-21 19:42:21 +00:00
bmlk%gmx.de
0e9bc7591d
collapse zero colspans when new cells are inserted bug 370842 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@220654 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-21 19:31:52 +00:00
bzbarsky%mit.edu
14a02618ac
Fix bug 370586. r=bernd, sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@220537 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-19 01:10:28 +00:00
dbaron%dbaron.org
ba459aa49a
Subtract allocated parts before repeating division used for allocation to avoid rounding error of total. b=366865 r=bernd sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@220521 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-18 19:49:50 +00:00
bmlk%gmx.de
7b55a8c924
fix oversight with zero rowspan handling bug 370808 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@220518 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-18 18:50:39 +00:00
bzbarsky%mit.edu
cda6f2b142
Don't use a static nsTArray. Bug 369099, r=bernd, sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@220057 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-13 16:23:19 +00:00
bmlk%gmx.de
0ebfa4e5c2
take into account overlap situations between row- and colspans, bug 369975 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@220043 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-13 05:32:18 +00:00
sharparrow1%yahoo.com
4e50607a9e
Bug 370185: clean up view header includes (trivial). rs=bzbarsky.
...
git-svn-id: svn://10.0.0.236/trunk@219987 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-12 19:17:33 +00:00
bmlk%gmx.de
aa1fd49930
look out for zero rowspans when expanding the cellmap bug, 368651 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@219928 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-10 06:56:57 +00:00
dbaron%dbaron.org
44f614b823
Stop rounding widths to pixel boundaries to fix reftest failures on Mac, which does subpixel positioning and sizing of text. b=369318 r=bernd sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@219738 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-08 19:21:58 +00:00
dbaron%dbaron.org
61d479d909
Stop rounding final column widths (up) to pixel boundaries. b=349297 r=bernd sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@219737 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-08 19:20:51 +00:00
sharparrow1%yahoo.com
dd459d0a71
Bug 177805: Fix the use of units in Gecko. r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@219640 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-07 07:46:44 +00:00
dbaron%dbaron.org
cbdde83088
Make default table and hr border colors be gray rather than special values that depend on the background color, and remove the special values that depend on the background. b=84307 Patch by fantasai <fantasai.bugs@inkedblade.net>. r=bzbarsky sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@219306 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-01 02:45:55 +00:00
cvshook%sicking.cc
ccd1d6884d
Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128
...
git-svn-id: svn://10.0.0.236/trunk@219151 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 00:06:41 +00:00
bzbarsky%mit.edu
a99e9b8f80
Fix crash bug 368166. r=bernd, sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@219071 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-28 16:49:26 +00:00
dbaron%dbaron.org
04bb428ada
Remove nsTableFrame::GetBorderPadding and related code. b=367458 r=bernd sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@219055 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-27 22:22:24 +00:00
dbaron%dbaron.org
c89a4222fe
Address review comment on bug 9458 that depends on bug 367247 by making nsFrame::IsContainingBlock not check display type, but making it purely frame-class-based.
...
git-svn-id: svn://10.0.0.236/trunk@219049 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-27 18:45:35 +00:00
bzbarsky%mit.edu
343ced44ba
Make mComputedWidth private, with a getter/setter, and make the setter update
...
the resize flags. Bug 367442, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@218933 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 00:05:12 +00:00
bzbarsky%mit.edu
3c4a12efcd
Address review comment I missed. Bug 367749.
...
git-svn-id: svn://10.0.0.236/trunk@218849 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-24 20:23:08 +00:00
bzbarsky%mit.edu
0ec062328d
Fix various bugs in the column iterator's keeping track of the current row.
...
Bug 367749, r=bernd, sr=roc
git-svn-id: svn://10.0.0.236/trunk@218847 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-24 20:18:04 +00:00
dbaron%dbaron.org
103e95ab15
Change the bulk of ascent (baseline) computation to happen on a virtual method on nsIFrame, and remove the redundant descent member from nsHTMLReflowMetrics, primarily to support having both first-line and last-line baselines. b=367332 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@218785 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 04:06:56 +00:00
bzbarsky%mit.edu
3de9b82869
Make it possible for callers who want to iterate all the row groups and
...
GetMapFor() for all of them do so in about O(N) time instead of O(N^2) (in
number of row groups). Bug 366892, r=bernd, sr=roc
git-svn-id: svn://10.0.0.236/trunk@218741 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-22 04:35:25 +00:00
bzbarsky%mit.edu
0b6146e808
Have a faster way of iterating down the columns of a table. Bug 352461,
...
r=bernd, sr=roc
git-svn-id: svn://10.0.0.236/trunk@218739 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-22 04:32:33 +00:00
bmlk%gmx.de
66cba9f983
Stronger band-aid to prevent table splitting inside columns bug 362275 r/sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@218721 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-21 17:51:33 +00:00
dbaron%dbaron.org
927d56bf63
Make PushStackMemory never fail to simplify callers, and deCOMtaminate the stack memory API. b=366866 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@218565 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 23:53:47 +00:00
dbaron%dbaron.org
794867888d
When possible, distribute min width of colspanning cells so it fits within the pref width of the spanned columns. b=363144 r=bernd sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@218528 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 19:19:50 +00:00
dbaron%dbaron.org
bdfaaa60a4
Fix incorrectly placed PR_MAX(), since the span* values are additions to the base values. b=365173 r=bernd sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@218260 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-13 01:08:18 +00:00