362 Commits

Author SHA1 Message Date
aaronleventhal%moonset.net
59b589b964 Bug 250269. Outlines not getting painted on buttons, radios, checkboxes, tables and table cells. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@165254 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-11 15:07:22 +00:00
bmlk%gmx.de
3656f2a5e7 fix flawed reflow logic for empty table cells bug 226637 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@164605 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-29 17:31:53 +00:00
roc+%cs.cmu.edu
ab88d1e1ac Bug 259032. DeCOMtaminate nsIFrame::GetNext/PrevInFlow. r+sr=roc, patch by Will Levine
git-svn-id: svn://10.0.0.236/trunk@162269 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-14 02:28:03 +00:00
dbaron%dbaron.org
e8aae32dd7 Land bug 72747 in pieces: use new functions for common overflow tests. b=72747 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@161682 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-02 23:27:23 +00:00
roc+%cs.cmu.edu
c66af173cf Bug 257430. nsImageFrame and nsTableRowFrame need to always include their frame bounds in their overflow area. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@161574 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-01 13:33:17 +00:00
dbaron%dbaron.org
dcf4bae71a Back out the rest of bug 72747 due to Tp regression.
git-svn-id: svn://10.0.0.236/trunk@161373 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-27 01:26:55 +00:00
dbaron%dbaron.org
ed6372cf2f Implement 'overflow-x' and 'overflow-y' CSS properties, long implemented by IE for Windows and proposed for CSS3. Implement scrolling='yes' and equivalents on frame and iframe. Various pieces of related cleanup (see comment 22 in bug). b=72747 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@161333 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-26 17:11:20 +00:00
dbaron%dbaron.org
dda1e6cda9 Fix names of constants to correspond to the new definitions of the values of the 'overflow' property. b=69355 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@160586 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-10 01:32:10 +00:00
bryner%brianryner.com
865734bf2f Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
git-svn-id: svn://10.0.0.236/trunk@160184 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-31 23:15:21 +00:00
aaronleventhal%moonset.net
68db552d54 Bug 151375. Implement css2 outline (still called -moz-outline for now). Makes -moz-outline draw outside of the current frame. Improves appearance of focus outline. Lots of help from roc. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@159341 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-16 16:56:21 +00:00
aaronleventhal%moonset.net
aac51e9f0b Backing out bug 151375 for now, because of scrolling regressions in HTML and XUL listboxes and comboboxes
git-svn-id: svn://10.0.0.236/trunk@159268 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-15 18:57:47 +00:00
aaronleventhal%moonset.net
c361ea9f16 Bug 151375. Implement css2 outline (still called -moz-outline for now). Makes -moz-outline draw outside of the current frame. Improves appearance of focus outline. Lots of help from roc. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@159196 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-14 21:58:34 +00:00
roc+%cs.cmu.edu
6eee2bc446 Bug 241454. Enforce the rule that if a frame ever reflows its child asking for MEW, then it *always* reflows the child asking for MEW. r=bernd,sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@157474 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-06 20:45:23 +00:00
bmlk%gmx.de
65d8955787 during incr. reflow table cells have a unconstrained computed size, they need to ensure that a second constrained reflow is issued on the children, bug 237366, initial idea by saito@densan.co.jp r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@157433 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-05 16:59:46 +00:00
bmlk%gmx.de
8cea43fadb make visibility collapse work during incr reflows bug 77019 r= bzbarsky sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@155641 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-28 16:42:59 +00:00
bmlk%gmx.de
3d248b601b Remove unused functions bug 240559 r/sr =bzbarsky
git-svn-id: svn://10.0.0.236/trunk@155289 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-21 15:49:29 +00:00
bmlk%gmx.de
e4d6615e12 remove table background quirk use standards painting instead bug 237078 patch by fantasai@escape.com r=bernd sr=dbaron
crash prevention when colframes return bogus colindices bug 240854 r/sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@155080 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 18:17:00 +00:00
gerv%gerv.net
2ac510b678 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155068 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 14:30:37 +00:00
tor%cs.brown.edu
996688b00b Bug 240274 - remove PopState() argument. r=blizzard, sr=bryner
git-svn-id: svn://10.0.0.236/trunk@155061 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 13:13:35 +00:00
bmlk%gmx.de
48995421dc use the desiredsize and not the previous mrect size for the overflow area, bug 233438, r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@154914 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-15 04:28:28 +00:00
bmlk%gmx.de
0d1c2f46fe row view needs to synced after we resized the cells bug 239101 r/sr=roc
git-svn-id: svn://10.0.0.236/trunk@154860 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-14 06:22:52 +00:00
bmlk%gmx.de
4ab8cd3e7f synchronize the view of a table cell if we dont realign the cell content vertically, bug 237734, r/sr=roc a=chofmann
git-svn-id: svn://10.0.0.236/trunk@154345 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-28 15:13:31 +00:00
roc+%cs.cmu.edu
44185c6657 Bug 235264. Clean up invalidation to go through a single nsIFrame::Invalidate function and take account of 'outline' where necessary. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@153808 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-10 03:09:05 +00:00
bmlk%gmx.de
bc6dd3a017 implement standards compliant (CSS2.1) table background rendering patch by fantasai@escape.com r=bernd sr=bz, dbaron
git-svn-id: svn://10.0.0.236/trunk@153736 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-09 06:48:35 +00:00
bryner%brianryner.com
4b70febae6 inline IsPaginated, SetPaginatedScrolling, and GetPaginatedScrolling. Bug 229371, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@153488 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-03 18:24:20 +00:00
bmlk%gmx.de
9631b46bd0 recover overflow area during incr. reflows in table frames, bug 219220 r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@151959 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-28 18:44:41 +00:00
peterv%propagandism.org
94b69cb574 Miscellaneous cleanup. r/sr=jst.
git-svn-id: svn://10.0.0.236/trunk@151493 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-18 10:45:26 +00:00
bmlk%gmx.de
a316af5457 remove unneccesary prescontext arguments bug 230923 r/sr=roc
git-svn-id: svn://10.0.0.236/trunk@151492 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-18 10:28:40 +00:00
roc+%cs.cmu.edu
35c266025d Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@151077 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-09 14:20:53 +00:00
dbaron%dbaron.org
fcc42d022e Remove missed line from previous checkin. b=221140
git-svn-id: svn://10.0.0.236/trunk@150312 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-15 03:35:50 +00:00
dbaron%dbaron.org
a040cc3995 Fix regressions of 'overflow: hidden' on various table display types. b=221140 r=bernd sr=roc a=asa
git-svn-id: svn://10.0.0.236/trunk@150259 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-12 23:00:54 +00:00
dbaron%dbaron.org
766cb27835 Restore overflow area in the reflow state when no reflow is done, so views are sized correctly. b=227496 r=bernd sr=roc a=tor
git-svn-id: svn://10.0.0.236/trunk@150257 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-12 22:58:25 +00:00
dbaron%dbaron.org
a8191642ef Do inheritance without layout-dependent computations, per CSS2.1. Remove eStyleUnit_Inherit and nsStyleCoord::SetInheritValue. b=205790 r+sr=bzbarsky a=asa
git-svn-id: svn://10.0.0.236/trunk@149687 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-24 19:46:25 +00:00
uid502
e56ed2443c Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@148665 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-31 20:19:18 +00:00
bmlk%gmx.de
deb5f49052 overflow area implementation for table frames, bug 173277 r=jkeiser sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@146838 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-13 16:26:30 +00:00
bzbarsky%mit.edu
8ceac615ed Make sure the for loop terminates. Also caught by bryner, r+sr=me
git-svn-id: svn://10.0.0.236/trunk@144512 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-07 05:15:41 +00:00
roc+%cs.cmu.edu
b4657fef30 Ongoing deCOMtamination. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@144510 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-07 02:01:29 +00:00
dbaron%dbaron.org
519cf3b3d3 DeCOMtaminate nsIFrame::GetView and SetView, and add HasView, GetClosestView, and AreAncestorViewsVisible to consolidate common patterns. b=208004 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@143960 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-19 23:44:01 +00:00
dbaron%dbaron.org
69da9d4a19 Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan
git-svn-id: svn://10.0.0.236/trunk@142488 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-15 03:42:21 +00:00
bmlk%gmx.de
463e729d9d build warning fix bug 198738 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@140748 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-05 15:36:31 +00:00
bmlk%gmx.de
46c75680d5 change table cell width to content width, bug 119100 r=jkeiser sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@139957 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-21 19:35:36 +00:00
dbaron%dbaron.org
e6a2b29ebf Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst
git-svn-id: svn://10.0.0.236/trunk@138193 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 15:34:38 +00:00
bryner%netscape.com
c44337949a 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.
git-svn-id: svn://10.0.0.236/trunk@138129 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 00:32:13 +00:00
dbaron%dbaron.org
a569c670f5 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
git-svn-id: svn://10.0.0.236/trunk@136064 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-09 14:26:32 +00:00
bernd.mielke%snafu.de
c5c4b69893 split further fixed and percent row height calculation, bug 153995 patch by Rick.Ju@sun.com r=karnaze sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@135858 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-05 14:16:58 +00:00
bernd.mielke%snafu.de
63c27e6db9 Implement for table captions caption-side: left and right, also <caption align="left"> and right, further vertical-align:top, middle and bottom for table captions bug 3166 r=karnaze sr=kin
git-svn-id: svn://10.0.0.236/trunk@133384 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-08 05:29:34 +00:00
karnaze%netscape.com
cc81dbe612 bug 165772 - rewrite of SplitSpanningCells and most of SplitRowGroup to better handle splitting of rowspan cells. sr=kin, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@131076 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-03 14:33:23 +00:00
rbs%maths.uq.edu.au
22f904d76a fix typo, b=40721, r=karnaze, sr=kin
git-svn-id: svn://10.0.0.236/trunk@130907 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-01 19:40:28 +00:00
karnaze%netscape.com
5327a7f9d3 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.
git-svn-id: svn://10.0.0.236/trunk@129098 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-09 18:46:06 +00:00
karnaze%netscape.com
f7e67af4b3 bug 154780 - Revised bernd's patch. treat null unit margins as auto. leave the cell avail width at 0 if a strategy init will occur. sr=kin, r=alexsavulov.
git-svn-id: svn://10.0.0.236/trunk@128780 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-04 00:10:43 +00:00