Commit Graph

130 Commits

Author SHA1 Message Date
dbaron@dbaron.org
731e0cce6c 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 2007-06-25 13:34:35 -07:00
bmlk%gmx.de
15f99a67ae limit array access when a rowspan points to a already pushed row, bug 370360 r/sr=bzbarsky 2007-02-21 19:42:21 +00:00
sharparrow1%yahoo.com
76a64e5c22 Bug 177805: Fix the use of units in Gecko. r+sr=roc 2007-02-07 07:46:44 +00:00
cvshook%sicking.cc
a39ff30284 Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128 2007-01-30 00:06:41 +00:00
dbaron%dbaron.org
d8805141a6 Remove nsTableFrame::GetBorderPadding and related code. b=367458 r=bernd sr=roc 2007-01-27 22:22:24 +00:00
dbaron%dbaron.org
f6245f0ed9 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 2007-01-23 04:06:56 +00:00
dbaron%dbaron.org
d5af630c22 Better API for used padding/border/margin: remove deprecated Calc*For on nsStyleStructs and add GetUsed* to nsIFrame. b=332922 r+sr=roc 2006-12-13 23:04:57 +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
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
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
bmlk%gmx.de
ef5d2c73ea use scaledpixels to convert from CSS pixels to realword pixels bug=307367 r/sr=roc 2006-01-21 09:54:07 +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
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
mats.palmgren%bredband.net
92858c988e Don't page-break before or after a repeated frame. b=278983 r+sr=bzbarsky 2005-02-05 04:23:52 +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
bryner%brianryner.com
5c02a6978c Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc 2004-07-31 23:15:21 +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
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
dbaron%dbaron.org
26521d3245 Table rows/cols and groups don't paint their backgrounds, so CanPaintBackground must return false. b=236053 r+sr=roc 2004-03-01 08:17:59 +00:00
bmlk%gmx.de
a217311c27 remove unneccesary prescontext arguments bug 230923 r/sr=roc 2004-01-18 10:28:40 +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
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
bernd.mielke%snafu.de
d25b02bef7 split further fixed and percent row height calculation, bug 153995 patch by Rick.Ju@sun.com r=karnaze sr=bzbarsky 2003-01-05 14:16:58 +00:00
karnaze%netscape.com
46e888130b bug 154780 - make the computed width for a cell unconstrained when the table will re-initialize or re-balance. a=rjesup, sr=kin, r=alexsavulov. 2002-09-09 18:46:06 +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
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
3aff0667ca additional patch for bug 97138 to cache pct height info on row and constrain sum of row height pcts <= 100. 2001-11-05 15:15:24 +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
4d391277b8 bug 105268 - set NS_FRAME_OUTSIDE_CHILDREN on row when cells have rowspan>1 so that painting will not clip to row. sr=attinasi, r=alexsavulov 2001-10-22 22:21:19 +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
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
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
ce8ef82ad1 bug 59280 - better splitting of row groups/rows with rowspans. r=dcone. 2001-04-16 14:51:52 +00:00
karnaze%netscape.com
a81a269978 table reflow coalescing, table reflow face lift. sr=attinasi 2001-03-13 06:38:59 +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
buster%netscape.com
dd3cd7990c bug 3992
chris k did the work.
r=buster
2000-08-24 05:03:18 +00:00
rbs%maths.uq.edu.au
fc667ea4ee Enable the code to support for 'vertical-align: baseline' in table-cells. bug 10207. a:waterson@mozilla.org. was r:karnaze@netscape.com. 2000-07-28 09:19:26 +00:00
rbs%maths.uq.edu.au
f522c03515 [#ifdef MOZ_MATHML: not yet part of default build]. Add support for 'vertical-align: baseline' in table-cells. bug 10207. r:karnaze@netscape.com. a:waterson@mozilla.org 2000-06-05 08:25:11 +00:00
karnaze%netscape.com
7aea563c64 nsbeta2+ bug 39885 - invalidate minimal areas. optimize reflows when cells don't change size. r=attinasi 2000-05-25 22:40:21 +00:00
karnaze%netscape.com
65511dc8d6 new reflow/layout code for outer table to handle captions and margins. better % height handling.
row groups and rows don't include external cellspacing in there dimensions. r=troy.
2000-04-28 21:05:31 +00:00