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
dbaron%dbaron.org
b348f16679
Accumulate column-spanning cells into column intrinsic widths separately for each number of columns spanned, in increasing order. b=363329 r=bernd sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@218259 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-13 01:04:56 +00:00
bmlk%gmx.de
9ddb3480ae
Zerorowspans are expanded during cellmap entry creation. There is no need to adapt the rowspan value later, bug 364318 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@217587 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-01 18:18:53 +00:00
bmlk%gmx.de
9df82f6d3b
initialize variables before use bug 365075 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@217456 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-27 08:46:30 +00:00
timeless%mozdev.org
c778d21502
Bug 355300 There should be only one nsGkAtoms creature
...
r=dbaron
git-svn-id: svn://10.0.0.236/trunk@217425 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-26 17:47:52 +00:00
bmlk%gmx.de
6db17ea546
be carefull with row indices when deleting cells bug=364318, patch by bz, r=me sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@217418 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-26 14:24:15 +00:00
bmlk%gmx.de
93402c4df5
rename variable rename mRowCount to mContentRowCount so that it becomes obvious what it contains. Adjust the cellmap grow mechanism to the new nsTArray world bug=363370 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@217417 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-26 14:04:20 +00:00
bmlk%gmx.de
1ac0afc850
add again bound checks that the BC code relies on. bug 364150 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@217416 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-26 13:55:32 +00:00
dbaron%dbaron.org
202dcc4811
Untabify.
...
git-svn-id: svn://10.0.0.236/trunk@217412 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-25 19:44:34 +00:00
dbaron%dbaron.org
244455b8f1
Fix shadowing variable name. No bug.
...
git-svn-id: svn://10.0.0.236/trunk@217153 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-18 22:35:01 +00:00
dbaron%dbaron.org
c31903a4f8
Fix handling of columns in which no cell originates (i.e., unneeded extra colspan). b=363329 Patch from Bernd Mielke, bmlk%gmx.de, with review comments addressed by me. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@217152 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-18 22:34:30 +00:00
bzbarsky%mit.edu
6cab0c0057
Remove some unused table code. Bug 359139, r=bernd, sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@217109 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-18 03:04:25 +00:00
mats.palmgren%bredband.net
34a45a87f6
Make the CSS 'ch' length unit work in most cases. b=363573 r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@217089 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-17 14:06:42 +00:00
dbaron%dbaron.org
806b1c5919
Use unsigned value with 1-bit field width, per sicking's advice. No bug.
...
git-svn-id: svn://10.0.0.236/trunk@217040 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-16 02:11:38 +00:00
dbaron%dbaron.org
866a194991
Better API for used padding/border/margin: remove deprecated Calc*For on nsStyleStructs and add GetUsed* to nsIFrame. b=332922 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@216965 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-13 23:04:57 +00:00
dbaron%dbaron.org
7c3d43cc80
Fix bustage. b=363524
...
git-svn-id: svn://10.0.0.236/trunk@216932 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-13 04:21:05 +00:00
dbaron%dbaron.org
08d8ed684c
Reflow all of the table structure (although not its descendants) when frame structure within the table is changed. b=363524 r=bernd sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@216926 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-13 03:45:28 +00:00
bmlk%gmx.de
46398b3fb9
report frames currently on the overflow list as frames on a additional childlist to get their views reparented if a frame higher in the tree needs to reparent the views bug 362724 r/sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@216815 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-10 06:46:17 +00:00
dbaron%dbaron.org
1d1477169f
Fix bad interaction of colspan handling with AddMinCoord's magic to deal with specified coord widths. Substantive changes by bzbarsky, comments by me. r+sr=dbaron/bzbarsky b=363150
...
git-svn-id: svn://10.0.0.236/trunk@216792 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-09 05:38:19 +00:00
dbaron%dbaron.org
1ca9f3f372
Bug 300030: Move intrinsic width computation out of nsIFrame::Reflow and into its own methods on nsIFrame. Replace reflow reasons, types, and commands with dirty bits/notifications. Thanks to bzbarsky for almost all of the HTML form controls (mozilla/layout/forms) changes, and many others for help testing and patching. For detailed commit logs, see REFLOW_YYYYMMDD_BRANCH, where YYYYMMDD is one of 20061031, 20060830, 20060603, 20060302, 20060119, 20051011, 20050804, 20050429, 20050315, 20050111, and 20041213.
...
git-svn-id: svn://10.0.0.236/trunk@216738 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-08 05:38:33 +00:00
bzbarsky%mit.edu
d631c95536
Fix build orange. Bug 356335, reviews hopefully coming up.
...
git-svn-id: svn://10.0.0.236/trunk@216631 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 03:43:52 +00:00