roc+%cs.cmu.edu
e6397ff281
Bug 429669. Fix merge regression so that fixed-background tables display correctly. r+sr=mats,a=damon
...
git-svn-id: svn://10.0.0.236/trunk@250579 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-21 22:00:48 +00:00
roc+%cs.cmu.edu
c64d67f6eb
Bug 416735. When a table frame paints the backgrounds for all its parts, make sure those parts notify the table frame display item when they are background-attachment:fixed. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@249686 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-06 11:34:14 +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
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
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
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
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
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
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
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
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
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
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
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
bmlk%gmx.de
f21795364a
Revert a old design decision how to expand zero colspans in the cellmap. Once a cellmap hole was hit via the GetDataAt function the old code tried to repair this cellmap position by walking up and left till a possible origin of a zero span was hit. The new code uses a mark and sweep approach, which should remove the burden that ordinary tables without zero spans but large cellmap holes have to pay. bug 351942 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@213902 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-20 07:37:24 +00:00
roc+%cs.cmu.edu
1c89fec2c3
Bug 241796. Fix comments and handle OOM in SetProperty. Followup to the real fix. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@212139 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-22 01:56:04 +00:00
roc+%cs.cmu.edu
6b60d7bd32
Bug 241796. Use a row cursor to speed up painting and event handling in large tables, similar to what we do for large blocks already. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@212022 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-19 21:39:33 +00:00
bmlk%gmx.de
d128aeb073
match the numer of columnss in the cellmap and the col cache bug 350081 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@208642 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-28 17:39:36 +00:00
bmlk%gmx.de
44ecdcf59a
take special care when tfoot are manipulated and the cellmap changes rather drastical bug 343087 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@206613 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-04 19:15:50 +00:00
bmlk%gmx.de
24de0ae75c
reset row indices if rowgroups may have moved bug 342559 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@201120 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-28 19:00:01 +00:00
roc+%cs.cmu.edu
4fb2b61671
Bug 333481. Sort table-part event-handling display items to ensure that the table comes before all row-groups, which come before all rows, which come before all cells. r=bernd
...
git-svn-id: svn://10.0.0.236/trunk@194544 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-17 22:16:24 +00:00
roc+%cs.cmu.edu
b6ebd9961d
Bug 328926. Remove aPresContext parameter from nsIFrame::Destroy, nsIFrame::SetInitialChildList and nsIFrame::RemovedAsPrimaryFrame. patch by Marc Liddell, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@193976 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-10 00:16:29 +00:00
roc+%cs.cmu.edu
140fbb3377
Bug 330934. Set a nsIFrame's stylecontext in its constructor, to ensure that there's always one available for GetPresContext() to use even if Init hasn't been called. Patch by Marc Liddell, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@193022 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-26 21:30:36 +00:00
pavlov%pavlov.net
b5c7a440ef
backing out roc's patch for bug 328926 due to crash running tests on vc8 machines.
...
git-svn-id: svn://10.0.0.236/trunk@192407 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-15 06:43:36 +00:00
roc+%cs.cmu.edu
6e36f2c733
Bug 328926. Remove aPresContext parameter from Destroy and SetInitialChildList. patch by Marc Liddell, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@192399 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-15 03:14:02 +00:00
roc+%cs.cmu.edu
38a9722e9f
Bug 328926. Remove aPresContext from nsIFrame::Init and nsIFrame::DidSetStyleContext. r+sr=roc, patch by Marc Liddell
...
git-svn-id: svn://10.0.0.236/trunk@192085 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-09 18:55:21 +00:00
bmlk%gmx.de
24256cd622
Make visibility:collapse work again after the display list change. Implement overflow handling and view synchronization for collapsed frames. bug 326551 r/sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@191763 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-04 05:26:57 +00:00
roc+%cs.cmu.edu
df8627e29b
Bug 317375. Reorganize frame painting and mouse event targeting around frame display lists. Some review from dbaron, lots of testing help from Martijn, Julien and others
...
git-svn-id: svn://10.0.0.236/trunk@188202 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-26 02:29:17 +00:00
timeless%mozdev.org
a05383ef1b
Bug 106386 Correct misspellings in source code
...
patch by mats.palmgren@bredband.net r=dbaron sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@185018 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-20 22:05:24 +00:00
bmlk%gmx.de
f45b33da68
limit search for real table cells to place where they can be expected, bug 313295 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@184151 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-04 18:41:32 +00:00
roc+%cs.cmu.edu
c4e0410c6e
Bug 313817. DeCOMtaminate more NS_New*Frame functions. r+sr=roc, patch by Marc Liddell
...
git-svn-id: svn://10.0.0.236/trunk@184129 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-04 02:38:33 +00:00
bmlk%gmx.de
212fccadfd
handle baseline for empty table cells closer to the new description in CSS2.1, bug 291060 r/sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@181584 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-04 15:47:21 +00:00
roc+%cs.cmu.edu
aeacb4d477
Bug 108310. Make GetFrameForPoint take frame-relative coordinates, not bogus relative-to-some-view-or-other, and simplify the signature. r+sr=roc, patch by Eli Friedman.
...
git-svn-id: svn://10.0.0.236/trunk@180551 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-19 02:15:54 +00:00
dbaron%dbaron.org
f94ce77397
Fix too-much-overflow regression by making border-collapse cells store the full width of the border rather than just the inside half of it. Also make BCPixelSize 16-bit instead of 8-bit and use it in more places, and a little other cleanup. b=286794 r=bernd sr=roc a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@171857 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-07 18:04:38 +00:00
bmlk%gmx.de
62e6af1eb3
make colframe cache nonpublic bug 278644 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@170208 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-05 16:43:07 +00:00
roc+%cs.cmu.edu
0f923db490
Bug 274516. Tables should use the ordered rowgroup array to decide which children to push, not just follow the sibling list. Also, repeating footers should not be pushed. r=bernd, sr=bzbarsky, a=choffman
...
git-svn-id: svn://10.0.0.236/trunk@169282 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-16 20:02:14 +00:00
bzbarsky%mit.edu
2bea98552c
Remove prescontext args for some nsIFrame methods
...
(Append/Insert/Remove/ReplaceFrames) and for some methods in table land. Patch
by Vidar Braut Haarr <bugmail@q1n.org>, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@168894 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-07 01:58:25 +00:00
cvshook%sicking.cc
12f074b44e
Bug 236476: Change GetHTMLAttribute to GetParsedAttr. Also fixes bug 232706 by removing final uses of nsHTMLValue.
...
r=bz sr=jst
git-svn-id: svn://10.0.0.236/trunk@168269 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-25 00:02:58 +00:00
neil%parkwaycc.co.uk
b6cfbdda85
Bug 276100 GetOriginToView has unused PresContext argument p=bugmail@q1n.org r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@167161 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-01 17:26:29 +00:00
bmlk%gmx.de
adcb976e59
remove unused prescontext from PlaceFrameView, PlaceChildsView, ConsiderChildOverflow bug 276092 r/sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@167045 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-27 15:05:18 +00:00