dbaron%dbaron.org
79275357a7
Reflow all of the table structure (although not its descendants) when frame structure within the table is changed. b=363524 r=bernd sr=bzbarsky
2006-12-13 03:45:28 +00:00
bmlk%gmx.de
52d6f885ce
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
2006-12-10 06:46:17 +00:00
dbaron%dbaron.org
31f1898810
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.
2006-12-08 05:38:33 +00:00
bmlk%gmx.de
2722eb51e3
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
2006-10-20 07:37:24 +00:00
roc+%cs.cmu.edu
516ce211dd
Bug 241796. Fix comments and handle OOM in SetProperty. Followup to the real fix. r+sr=bzbarsky
2006-09-22 01:56:04 +00:00
roc+%cs.cmu.edu
c5f6e4e0b1
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
2006-09-19 21:39:33 +00:00
bmlk%gmx.de
6f250e7252
match the numer of columnss in the cellmap and the col cache bug 350081 r/sr=bzbarsky
2006-08-28 17:39:36 +00:00
bmlk%gmx.de
d4f3eadccd
take special care when tfoot are manipulated and the cellmap changes rather drastical bug 343087 r/sr=bzbarsky
2006-08-04 19:15:50 +00:00
bmlk%gmx.de
822b5ee5b0
reset row indices if rowgroups may have moved bug 342559 r/sr=bzbarsky
2006-06-28 19:00:01 +00:00
roc+%cs.cmu.edu
ee089f28b9
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
2006-04-17 22:16:24 +00:00
roc+%cs.cmu.edu
a7f03736a9
Bug 328926. Remove aPresContext parameter from nsIFrame::Destroy, nsIFrame::SetInitialChildList and nsIFrame::RemovedAsPrimaryFrame. patch by Marc Liddell, r+sr=roc
2006-04-10 00:16:29 +00:00
roc+%cs.cmu.edu
0a10a79f62
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
2006-03-26 21:30:36 +00:00
pavlov%pavlov.net
131e8794e2
backing out roc's patch for bug 328926 due to crash running tests on vc8 machines.
2006-03-15 06:43:36 +00:00
roc+%cs.cmu.edu
557b089a47
Bug 328926. Remove aPresContext parameter from Destroy and SetInitialChildList. patch by Marc Liddell, r+sr=roc
2006-03-15 03:14:02 +00:00
roc+%cs.cmu.edu
c2801ebbd7
Bug 328926. Remove aPresContext from nsIFrame::Init and nsIFrame::DidSetStyleContext. r+sr=roc, patch by Marc Liddell
2006-03-09 18:55:21 +00:00
bmlk%gmx.de
20b85ffac2
Make visibility:collapse work again after the display list change. Implement overflow handling and view synchronization for collapsed frames. bug 326551 r/sr=roc
2006-03-04 05:26:57 +00:00
roc+%cs.cmu.edu
77bca74243
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
2006-01-26 02:29:17 +00:00
timeless%mozdev.org
1c34e68034
Bug 106386 Correct misspellings in source code
...
patch by mats.palmgren@bredband.net r=dbaron sr=dbaron
2005-11-20 22:05:24 +00:00
bmlk%gmx.de
e7a8486231
limit search for real table cells to place where they can be expected, bug 313295 r/sr=bzbarsky
2005-11-04 18:41:32 +00:00
roc+%cs.cmu.edu
520b30a7f7
Bug 313817. DeCOMtaminate more NS_New*Frame functions. r+sr=roc, patch by Marc Liddell
2005-11-04 02:38:33 +00:00
bmlk%gmx.de
8d2cb2369f
handle baseline for empty table cells closer to the new description in CSS2.1, bug 291060 r/sr=dbaron
2005-10-04 15:47:21 +00:00
roc+%cs.cmu.edu
fed343c43a
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.
2005-09-19 02:15:54 +00:00
dbaron%dbaron.org
06ee318b44
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
2005-04-07 18:04:38 +00:00
bmlk%gmx.de
a4dea01a20
make colframe cache nonpublic bug 278644 r/sr=bzbarsky
2005-03-05 16:43:07 +00:00
roc+%cs.cmu.edu
996d1e3d9e
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
2005-02-16 20:02:14 +00:00
bzbarsky%mit.edu
54d585f2af
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
2005-02-07 01:58:25 +00:00
cvshook%sicking.cc
e2081a89e6
Bug 236476: Change GetHTMLAttribute to GetParsedAttr. Also fixes bug 232706 by removing final uses of nsHTMLValue.
...
r=bz sr=jst
2005-01-25 00:02:58 +00:00
neil%parkwaycc.co.uk
74e2aa375a
Bug 276100 GetOriginToView has unused PresContext argument p=bugmail@q1n.org r+sr=dbaron
2005-01-01 17:26:29 +00:00
bmlk%gmx.de
ca3e9f85c3
remove unused prescontext from PlaceFrameView, PlaceChildsView, ConsiderChildOverflow bug 276092 r/sr=dbaron
2004-12-27 15:05:18 +00:00
bmlk%gmx.de
4f05ce3a62
change ref to pointer to catch spurious crash bug=264733 r/sr=bzbarsky
2004-10-29 17:44:29 +00:00
bmlk%gmx.de
939c392649
CalcDesiredHeight might change the overflow area, so it needs to be included in the reflowmetrics bug=231275 r/sr=dbaron
2004-09-13 18:21:03 +00:00
bryner%brianryner.com
5c02a6978c
Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
2004-07-31 23:15:21 +00:00
bryner%brianryner.com
0fd21c3872
Consolidate PresContext classes into a single nsIPresContext implementation, and finish deCOMtaminating it. Bug 253470, r+sr=roc.
2004-07-29 19:41:39 +00:00
bmlk%gmx.de
307143cf2a
reset the cell offset when a row becomes again visible, order the rowgroups before collapsing the rows bug 242253 r/sr=dbaron
2004-05-08 05:11:29 +00:00
bmlk%gmx.de
5a1e4899be
add colframe documentation, fix a colframe renumbering problem, bug 238999 r/sr=bzbarsky
2004-05-03 18:31:34 +00:00
bmlk%gmx.de
f857105001
make visibility collapse work during incr reflows bug 77019 r= bzbarsky sr=dbaron
2004-04-28 16:42:59 +00:00
gerv%gerv.net
708b56cff4
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-18 14:30:37 +00:00
bmlk%gmx.de
8c2f50790a
move HasMoreThanOneCell from nsTableRowGroupFrame.cpp into nsCellMap.cpp where it belongs. Don't try to repair the cellmap on every reflow, this might help with with large table rendering performance, bug 240318 r/sr=bzbarsky
2004-04-13 06:21:16 +00:00
dbaron%dbaron.org
41c16857c2
DeCOMify nsIFrame::IsPercentageBase and rename to IsContainingBlock. b=237169 r+sr=bzbarsky a=brendan
2004-03-12 04:40:17 +00:00
bmlk%gmx.de
ea9e726b8b
implement standards compliant (CSS2.1) table background rendering patch by fantasai@escape.com r=bernd sr=bz, dbaron
2004-03-09 06:48:35 +00:00
sicking%bigfoot.com
d5a23a72e6
Bug 232706: Remove unneccesary datatypes from nsHTMLValue and cleanup AttributeToString.
...
r=caillon sr=jst
2004-02-11 00:38:12 +00:00
bmlk%gmx.de
a217311c27
remove unneccesary prescontext arguments bug 230923 r/sr=roc
2004-01-18 10:28:40 +00:00
roc+%cs.cmu.edu
e7f165c614
Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz
2004-01-09 14:20:53 +00:00
bmlk%gmx.de
d481d3e19e
reduce prescontext usage in basic layout strategy bug 229457 r/sr=roc
2003-12-28 17:02:40 +00:00
bryner%brianryner.com
dfe3513814
Change all callers of nsIPresContext::GetShell() to use the non-refcounting versions. Most callers now use PresShell(), a few that were checking for null conditions are using GetPresShell() -- this will be remedied once we can ensure that a prescontext never has a null pres shell. Bug 227690, r+sr=bzbarsky.
2003-12-21 05:36:36 +00:00
uid502
d81619b4fa
Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky
2003-10-31 20:19:18 +00:00
bmlk%gmx.de
9c62c67b67
overflow area implementation for table frames, bug 173277 r=jkeiser sr=dbaron
2003-09-13 16:26:30 +00:00
bmlk%gmx.de
ebf5835d15
change table cell width to content width, bug 119100 r=jkeiser sr=bzbarsky
2003-03-21 19:35:36 +00:00
dbaron%dbaron.org
6dd68f3c64
Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst
2003-02-22 15:34:38 +00:00
bryner%netscape.com
e43f5a49fd
Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron.
2003-02-22 00:32:13 +00:00
dbaron%dbaron.org
57124d8115
Replace computation of max-element-size (height and width) with max-element-width alone, since the max-element-height is practically unused and not meaningful for layout. b=186953 r+sr=bzbarsky
2003-01-09 14:26:32 +00:00
bernd.mielke%snafu.de
605e1e230b
removal of debug cruft bug 146474 r=karnaze sr=attinasi
2002-05-29 18:55:34 +00:00
waterson%netscape.com
e3554c37cc
Bug 129115. Change the reflow path from a list structure to a tree structure to amortize state recovery and damage propagation costs. Eliminate table timeout reflows. r=kin,karnaze,rods,rbs; sr=attinasi
2002-05-10 18:22:41 +00:00
karnaze%netscape.com
253add7dbb
bug 125543 - Prevent row groups from splitting in the reflow preceeding a special height reflow. Cells are only notified that they should observe a percent height element if the element is inside the table's cell. Percent height elements inside the body will have a height based on the page height when printing. sr=kin, r=alexsavulov.
2002-04-10 21:32:41 +00:00
karnaze%netscape.com
9acf51392f
bug 131020 - process special height reflow when initiator is the containing table. a=roc+moz, sr=attinasi, r=bernd.
2002-04-01 06:46:17 +00:00
dbaron%fas.harvard.edu
8e8fb14ea0
Fix 2 cases where ReResolveStyleContext was broken, causing serious problems with dynamic style reresolution. Change nsIFrame::GetStyleContextProvider to GetParentStyleContextFrame, always use its result rather than using the parent frame in some cases, and move a bit of the complexity into the GetParentStyleContextFrame implementations. Fix block-within-inline case (bug 129350) using a special-previous-sibling frame property and ensuring that NS_FRAME_IS_SPECIAL is copied when frames are split. Fix out-of-flow frame case (bug 88154) by going to the placeholder map and by parenting the placeholder frame style contexts to the style context from their frame parent rather than the out-of-flow frame. b=129350 r=attinasi sr=hyatt a=asa
2002-03-27 02:38:13 +00:00
karnaze%netscape.com
773d422073
bug 24000 - implement page-break-before/after:always using new nsPageBreakFrame. Tables handle page breaks internally. a=asa, sr=attinasi, r=alexsavulov
2002-03-17 21:35:08 +00:00
karnaze%netscape.com
303ce25eb2
bug 92868 - Simplified the style context provider mechanism, changed frame manager to re-resolve the provider first and to use correct style context in a few other places. a=roc, sr=attinasi, r=dbaron.
2002-03-12 15:21:35 +00:00
shaver%mozilla.org
146f2a192d
reversion of patch for 92868, to repair severe regression (129827, a=drivers
2002-03-10 06:16:01 +00:00
karnaze%netscape.com
789e7e3040
bug 92868 (also bugs 51037, 90960, 91443) - Simplified the style context provider mechanism, changed frame manager to re-resolve the provider first and to use correct style context in a few other places, sr=roc, r= bernd, a=asa.
2002-03-08 15:34:33 +00:00
bernd.mielke%snafu.de
71fc2ecfc9
bug 122899 encapsulate debug code r=karnaze sr=attinasi a=roc+moz
...
bug 128229 pass stylechange reflow to table childrens r=karnaze sr=roc+moz a=asa
2002-03-06 15:56:32 +00:00
karnaze%netscape.com
8e4131e572
bug 43039 - allow col to get next col in different col group for border collapse calc. sr=attinasi, r=alexsavulov
2002-03-05 15:23:28 +00:00
karnaze%netscape.com
cee69f0564
bug 120364 - remove framelist assertion; have table with height return correct desired height when row group splits. sr=attinasi, r=alexsavulov
2002-03-04 15:48:56 +00:00
karnaze%netscape.com
2017816095
bug 127040 - paint backgrounds in correct order when there are collapsed borders. sr=kin, r=dbaron, a=shaver
2002-02-26 00:27:42 +00:00
karnaze%netscape.com
679c575202
bug 41262 - new table border collapsing code. sr=attinasi, r=alexsavulov.
2002-02-19 15:48:28 +00:00
waterson%netscape.com
854831c91c
Bug 115113. Eliminate nsIReflowCommand, and just use nsHTMLReflowCommand directly. r=karnaze, sr=attinasi.
2001-12-17 22:39:59 +00:00
karnaze%netscape.com
748ebbcd0d
bug 113424 - mechanism for percent height frames inside table cells to receive special height reflow. sr=attinasi, r=alexsavulov
2001-12-07 14:51:12 +00:00
karnaze%netscape.com
3ed95c1e17
bug 51023 - reduce the size of table related frame classes. sr=kin.
2001-11-30 15:05:51 +00:00
karnaze%netscape.com
ba626a4171
bug 111028 - better height calc for table elements when printing. r=rods, sr=none.
2001-11-29 15:41:07 +00:00
bzbarsky%mit.edu
f2ee8260a0
Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
...
(i.e. where the string is a literal). Bug 104159, r=jag, sr=alecf
2001-11-14 01:33:42 +00:00
karnaze%netscape.com
8d3c3ea8b9
bug 97138 - rework of table, row group, row, cell height code. sr=attinasi, r=alexsavulov
2001-11-05 00:15:51 +00:00
karnaze%netscape.com
128e7ac8d2
bug 105166 - split images (except for image contro frames), round pixels down for printing. sr=attinasi,kin r=alexsavulov
2001-11-01 15:31:13 +00:00
karnaze%netscape.com
c37faec28a
bug 60816 use correct cell when rowspan and colspan overlap. Fix pixel rounding errors. sr=attiansi, r=alexsavulov
2001-10-26 02:30:38 +00:00
gerv%gerv.net
4e12e44b2f
Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
2001-09-28 20:14:13 +00:00
karnaze%netscape.com
66046cb3f7
bug 82401 - remove cell from correct parent when cell spans into split row; work around bug 101264 by doing initial reflow with unconstrained height. sr=kin, r=attinasi.
2001-09-24 14:48:38 +00:00
karnaze%netscape.com
e908dd0313
bug 68998 - added extra param to Paint, PaintChild, PaintChildren used by tables in standard mode. sr=waterson, r=alexsavulov.
2001-09-19 12:35:19 +00:00
rjesup%wgate.com
3098b524ca
bug 92573: VoidArray->AutoVoidArray changes for layout/*. r=kin, sr=attinasi
2001-09-06 21:11:44 +00:00
karnaze%netscape.com
b64e6aa6b6
bug 85738 - added 3rd pass reflow for tables in pagination mode which specified heights. sr=attinasi, r=savulov
2001-08-08 01:13:35 +00:00
karnaze%netscape.com
7812f3128c
bug 89452 - added flag to indicate a row was inserted. Invalidate the area from that row to end of table if full reflow is not needed, sr=attinasi, r=alexsavulov.
2001-08-06 14:48:09 +00:00
karnaze%netscape.com
fdffb84507
bug 92647 - Added static UpdateCol and call it when a cell changes width even though a rebalance is not needed. Stopped storing fix width in col as max of min and fix. sr=attinasi, r=alexsavulov
2001-08-06 13:58:46 +00:00
bernd.mielke%snafu.de
fe2ba5b751
bug 45486 fixing percent colspans iterate over from the inner to the outer colspan
...
cleanup in header files, some documentation, removing cruft
bug 55694 use reflowstate.availwidth if is usefull
r=karnaze sr=attinasi
2001-07-16 19:15:01 +00:00
bernd.mielke%snafu.de
6fcb747ea2
nsTableFrame code cleanup bug 89747 r =karnaze sr=attinasi
2001-07-13 05:53:09 +00:00
hyatt%netscape.com
b135c5b55a
Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson
2001-05-31 22:19:43 +00:00
karnaze%netscape.com
9b29d03daf
bug 74731 - remove extraneous cols at end of cell map rows, keep table cols and cell map cols in synch. sr=attinasi, r=cmanske
2001-05-17 12:40:27 +00:00
karnaze%netscape.com
2f821884d3
bug 55202 - honor height of cell, sr=attinasi, r=bernd.mielke@snafu.de
2001-05-14 14:28:00 +00:00
karnaze%netscape.com
1642ac06f0
bug 61663 - repeat headers and footers on more than 2 pages. sr=attinasi, r=bernd.mielke@snafu.de.
2001-04-09 14:21:24 +00:00
karnaze%netscape.com
d1cda12bca
bug 73629 - adjust mComputedWidth of a table or caption if it's nested, larger than avail width, not initial reflow. sr=attinasi
2001-03-28 21:19:31 +00:00
karnaze%netscape.com
1b04939e6f
bug 45055 - align row heights on pixel boundaries when distributing extra space vertically. Work around block bug by rounding cells to even pixel boundary. sr=attinasi, r=bernd.mielke@snafu.de
2001-03-25 23:06:08 +00:00
karnaze%netscape.com
a81a269978
table reflow coalescing, table reflow face lift. sr=attinasi
2001-03-13 06:38:59 +00:00
pierre%netscape.com
9af01acf22
Reinstate my changes that were backed out 10 days ago. #43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. r=attinasi,sr=buster.
2001-02-07 09:57:26 +00:00
karnaze%netscape.com
db74b1ba8a
more peformance work on test case of bug 60494. Removed redundant calls to recompute colspan widths. Added more debug reflow timing code. r=peterl.
2001-02-01 02:29:14 +00:00
karnaze%netscape.com
623b6521ad
better table reflow debugging including support for elapsed time. sr=buster.
2001-01-25 15:55:51 +00:00
mcafee%netscape.com
7ecf530933
Backing out pierre's change from 1/20 for performance reasons (66263). r=attinasi, a=granrose, phil
2001-01-25 02:58:12 +00:00
pierre%netscape.com
62bf433a35
#43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. Review=attinasi. Pending Approval: buster.
2001-01-20 22:46:54 +00:00
karnaze%netscape.com
164543525f
bugs 47163, 60807 and others, sr=buster
...
simplified BasicTableLayoutStrategy's CalculateTotals and CanAllocate
better calculation of proportional cols
calculation of adjusted widths due to colspans honors the fixed and pct widths of cols being spanned
2000-12-19 20:29:46 +00:00
karnaze%netscape.com
d44ea80115
bug 59252 - fixed regression caused by bug 53690. Don't reflow cell's in a fixed layout table unconstrained. a=buster, r=attinasi.
2000-11-15 14:59:47 +00:00
karnaze%netscape.com
b5a6f2a36c
bug 30418, 47252 - order row groups before performing most operations. r=attinasi.
2000-09-14 06:49:47 +00:00
attinasi%netscape.com
b96825ada0
Implemented GetParentContextProvider for the table frames to allow them to specify a frame other than their parent as the provider of their parent style context. b=45210 r=karnaze
2000-09-12 22:48:35 +00:00
karnaze%netscape.com
08e46efc4c
bug 39209 - don't use auto margins for max element size and maximum widths (when requested
...
during an incremntal reflow).
2000-09-11 00:02:04 +00:00
karnaze%netscape.com
e7cf1bf7e1
bug 14929 - Reallocate colspan adjusted col widths when there is a percent col being spanned.
2000-09-09 01:46:44 +00:00