dbaron%dbaron.org
7e3cd1f664
Don't do translation during table border painting. b=421069 Patch by Robert O'Callahan <roc@ocallahan.org>. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@248221 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-19 23:02:38 +00:00
bzbarsky%mit.edu
c76309d8ea
Comment fix
...
git-svn-id: svn://10.0.0.236/trunk@247959 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-17 00:22:54 +00:00
bzbarsky%mit.edu
8a048f6b78
Invalidate tables a little harder. Bug 421632, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@247942 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-16 20:32:48 +00:00
fantasai.cvs%inkedblade.net
573c3c24fb
switch GetOverflowAreaProperty callers to GetOverflowRect b=417116 r+sr=roc a=roc
...
git-svn-id: svn://10.0.0.236/trunk@246042 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-20 07:08:56 +00:00
bzbarsky%mit.edu
b06d3d6b21
Fix bug 416073: invalidate more things as needed during table reflow to prevent
...
glitches. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@245203 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-08 09:36:32 +00:00
surkov.alexander%gmail.com
cfdaa9365d
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
...
git-svn-id: svn://10.0.0.236/trunk@245101 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-07 07:03:26 +00:00
bzbarsky%mit.edu
607248134c
Don't invalidate the entire table just because we reflowed something inside
...
it. Bug 414298, r+sr+a=roc
git-svn-id: svn://10.0.0.236/trunk@245055 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-06 22:01:41 +00:00
mats.palmgren%bredband.net
2cf053a848
Add a null-check to wallpaper bug 411582. b=411582 r+sr=bzbarsky a=mtschrep
...
git-svn-id: svn://10.0.0.236/trunk@243155 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-15 23:29:53 +00:00
bmlk%gmx.de
c0c7efe743
fix handling of empty rowgroups (that are rg without a row beneath) in the border collapse code (bug 383193 r/sr=bzbarsky a=mtschrep
...
git-svn-id: svn://10.0.0.236/trunk@241364 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-15 20:23:10 +00:00
bmlk%gmx.de
0e98ff00ce
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
...
git-svn-id: svn://10.0.0.236/trunk@241350 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-15 16:08:52 +00:00
bzbarsky%mit.edu
873adb0602
Remove dead code. Bug 404666 followup, r=bernd, sr=roc, a=schrep
...
git-svn-id: svn://10.0.0.236/trunk@240536 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-05 19:38:26 +00:00
roc+%cs.cmu.edu
040d78de32
Bug 383195. Recreate support for repeatable table headers and footers while printing. r=bernd,sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@240485 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-05 02:32:56 +00:00
dbaron%dbaron.org
4b0e63ba0d
Rename new width keywords to match CSS WG decision. b=402706 r+sr=bzbarsky a=blocking1.9+
...
git-svn-id: svn://10.0.0.236/trunk@239468 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-15 18:10:32 +00:00
dbaron%dbaron.org
6cb89dce71
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+
...
git-svn-id: svn://10.0.0.236/trunk@239371 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-14 01:25:09 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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