134 Commits

Author SHA1 Message Date
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
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
masayuki%d-toybox.com
2cab5abe8f Bug 302959 If the a element in the legend element got focus, the ancestor table width is broken r+sr=dbaron, a=benjamin
git-svn-id: svn://10.0.0.236/trunk@176977 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-02 14:58:55 +00:00
bzbarsky%mit.edu
b2cd79d4bd Make fieldsets always be containing blocks. Bug 296722, r+sr=dbaron,
a=asa


git-svn-id: svn://10.0.0.236/trunk@174490 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-12 20:33:35 +00:00
bzbarsky%mit.edu
3f6088524e Fix border width inheritance by keeping track of both the border width we'd
have if our style were not none/hidden and the actual computed border width.
Bug 290377, r+sr=dbaron, a=asa


git-svn-id: svn://10.0.0.236/trunk@172872 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-29 15:44:38 +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
bzbarsky%mit.edu
a42f09bc20 Make fieldsets return false for CanPaintBackground, since they don't paint it
over their whole rect.  Bug 277313, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@168681 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-02 00:32:11 +00:00
mats.palmgren%bredband.net
0299a01715 Make Fieldset reparent its children correctly and trigger a reflow when needed. Fix a couple of sizing/invalidation problems in Reflow(). b=276104 r=bzbarsky sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@168270 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-25 00:06:38 +00:00
mats.palmgren%bredband.net
bb956e086b Swap the order between the legend and area frames in a fieldset to fix selection and tabbing problems. b=236071 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@167179 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-02 14:30:24 +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
bmlk%gmx.de
095f826d1b prevent lookup of frame state bits of nonexisting child frames bug 266225 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@164505 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-27 16:11:08 +00:00
bmlk%gmx.de
f7851ae5f6 decouple the maxWidth form the desiredSize.width, debug code removal, bug 237159 r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@163748 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-14 17:37:54 +00:00
bmlk%gmx.de
1fa3d40c94 fix MEW computation regression introduced by my previous checkin bug 257955 r/sr=roc
git-svn-id: svn://10.0.0.236/trunk@162546 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-20 12:40:20 +00:00
bmlk%gmx.de
4ea73ea2f9 frames with a percentage based width should report a 0 MEW bug 246999 r/sr=roc
git-svn-id: svn://10.0.0.236/trunk@161543 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-31 18:50:40 +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
bzbarsky%mit.edu
7d6cd84fe0 Paint a fieldset's border under the legend margin. Bug 247068, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@159301 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-15 23:28:46 +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
tor%cs.brown.edu
fba58fbb27 Bug 240274 - remove unused argument of SetClip{Rect,Region}.
r=blizzard, sr=bryner


git-svn-id: svn://10.0.0.236/trunk@155393 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-23 15:21:24 +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
bryner%brianryner.com
7ace3321e6 Inline TwipsToPixels and PixelsToTwips on nsIPresContext. Bug 229371, r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@152647 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 04:57:07 +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
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
15441b0462 fieldset frames should report overflow area, bug 96506 r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@147364 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-27 14:53:17 +00:00
roc+%cs.cmu.edu
ca3b83ccdf Ongoing deCOMtamination. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@144465 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-04 12:50:32 +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
jkeiser%netscape.com
d214c656a8 Fix crash printing fixed-position float elements (bug 200347), r=kin@netscape.com, sr=dbaron@dbaron.org, a=asa
git-svn-id: svn://10.0.0.236/trunk@142762 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-22 20:56:35 +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
roc+%cs.cmu.edu
ad79d0e7da Bug 191938. 'Dont print backgrounds' by setting background to white. also clean up unused params and make background-attachment:fixed work in printing/printpreview. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@138258 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-23 02:49:22 +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
bzbarsky%mit.edu
b993aac32b Make sure all caller have to pass in the "ignore 'print backgrounds'
preference" boolean.  Make block/inline _not_ ignore that pref.  Bug 191574,
r+sr=dbaron, a=asa


git-svn-id: svn://10.0.0.236/trunk@137266 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-01 23:54:32 +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
karnaze%netscape.com
ca5804764b bug 180805 - Added GetAdjustedParentFrame to handle fieldsets. Moved inner/outer table logic there. Added fieldset logic to IsValidSibling. sr=bzbarsky, r=jkeiser.
git-svn-id: svn://10.0.0.236/trunk@134696 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-03 16:02:42 +00:00
caillon%returnzero.com
0f7366d6d0 Correcting our background painting code per the latest CSS specs. By default, backgrounds should be painted to the border
area, and not the padding area as per the CSS 2 Errata, CSS2.1 and CSS3.  Also, implementing the CSS3 'background-clip'
and 'background-origin' properties (currently with -moz- prefixes) to control this behavior.
Bug 162252, r=dbaron sr=roc+moz


git-svn-id: svn://10.0.0.236/trunk@131419 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 10:24:53 +00:00
dbaron%fas.harvard.edu
e8821b1085 Clean up unneeded includes of nsStyleUtil.h, and some other include cleanup in MathML. r=rbs b=71257 (|#include| changes only)
git-svn-id: svn://10.0.0.236/trunk@127461 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-16 11:52:20 +00:00
bzbarsky%mit.edu
7b3559d1f9 Fieldset should look at its computed width even when there is no
legend.  Bug 162502, r=jkeiser, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@127232 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-14 02:28:23 +00:00
jkeiser%netscape.com
3d64c27797 Make form controls in fieldsets work (bug 121127), r=rods@netscape.com, sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@126792 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-08 20:38:40 +00:00
karnaze%netscape.com
49e0a9f4cb bug 145305 - split floaters during printing. sr=attinasi, r=alexsavulov.
git-svn-id: svn://10.0.0.236/trunk@122236 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-28 22:50:43 +00:00
jst%netscape.com
0e34136ef1 Fixing bug 146034. Getting rid of nsHTMLIIDs.{h,cpp}. r=jfrancis@netscape.com, sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@122039 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-23 00:00:34 +00:00
waterson%netscape.com
5bae3657e6 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
git-svn-id: svn://10.0.0.236/trunk@121265 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 18:22:41 +00:00
aaronl%netscape.com
d9575605b1 Fixing bustage. --disable-accessibility is broken
git-svn-id: svn://10.0.0.236/trunk@114660 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 03:23:18 +00:00
aaronl%netscape.com
424f513e6a Active Accessibility: support HTML tags <fieldset> and <legend>. r=jgaunt, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@114631 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 01:34:42 +00:00
bernd.mielke%snafu.de
1cbad10dec fieldset reflow cleanup:
bug 120958 report correct maxElementSize under table reflow conditions
bug 48318 implement correct default alignement under bidi conditions, make legend alignment
          indepedent of fieldset content if fieldset size is not content driven.
bug 80422 route trough events for floats inside a fieldset
bug 42302 honour padding-top
bug 60375 large maxElementsize overwrite computedWidth
r=karnaze sr=waterson


git-svn-id: svn://10.0.0.236/trunk@113292 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-31 05:09:13 +00:00
dbaron%fas.harvard.edu
8897c8f5b7 Backing out Bernd's checkin for bug 110596 to fix crashes / weird display. b=118991 r=bernd
git-svn-id: svn://10.0.0.236/trunk@111718 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 19:17:46 +00:00
brade%netscape.com
71c2917a5d remove unused static kLegendFrameCID saving 16 bytes (bug 117927; rs=glazou)
git-svn-id: svn://10.0.0.236/trunk@111696 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 15:41:11 +00:00
dbaron%fas.harvard.edu
b7194a0ea8 Replace the BodyFixupRule with code in nsCSSRendering to fix all the problems with dynamic style changes and backgrounds on the root element and the BODY element. Change the way the HTMLDocumentColorRule (for the table color quirk) is initialized since it used to depend on the BodyFixupRule. b=116161 (also fixes other bugs) r=attinasi sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@111511 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-07 23:46:07 +00:00
bernd.mielke%snafu.de
779d00d083 add form frames to debug reflow bug 115096 r=karnaze sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@111500 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-07 19:55:56 +00:00