Commit Graph

1109 Commits

Author SHA1 Message Date
dbaron@dbaron.org
280273cc6e Fix ContentStatesChanged so it correctly handles combinations of two elements where one is changing from 'display:none' to needing frames. b=188734 r+sr=bzbarsky 2003-01-14 01:29:34 +00:00
dbaron@dbaron.org
10ab824360 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 21:19:10 +00:00
bzbarsky@mit.edu
d93e889ddc ReResolveStyleContext needs to deal with :before/:after pseudos correctly. Bug
126072, r=dbaron, sr=roc+moz.  Also fixes bug 141259 (incorrect warnings about
style tree integrity).
2003-01-05 05:05:17 +00:00
bernd.mielke@snafu.de
14a4135bab fix an uninitialized warning, bug 155539 patch by karnaze@netscape.com r=alexsavulov sr=kin 2003-01-04 10:49:50 +00:00
jkeiser@netscape.com
4abefda8a3 Make GetType() return int instead of nsresult (bug 167762), r=peterl@netscape.com, sr=kin@netscape.com 2002-12-18 23:38:09 +00:00
dbaron@fas.harvard.edu
8de079b0b8 Don't set NS_BLOCK_SPACE_MGR and NS_BLOCK_WRAP_SIZE on relatively positioned blocks, by default. Use |ConstructBlock| for them rather than duplicating it, slightly incorrectly. b=180711 r+sr=roc 2002-12-13 20:13:17 +00:00
caillon@returnzero.com
d0e275516e Re-landing these because I don't believe this are responsible for the Txul spike.
Bug 181975 - Convert layout to use nsIPrefService, nsIPrefBranch, and friends.
r/sr=roc+moz
2002-12-11 14:05:41 +00:00
caillon@returnzero.com
aa5e6343da Backing out these changes since they appear to have caused a Txul regression on some tinderboxes (not all... weird...) 2002-12-11 05:11:02 +00:00
caillon@returnzero.com
382e7a0fa6 Bug 181975 - Convert layout to use nsIPrefService, nsIPrefBranch, and friends.
r/sr=roc+moz
2002-12-10 23:41:12 +00:00
roc+@cs.cmu.edu
49d5628c5c Checking in bug 90099 again since it seems tnot to have caused Tp regression. Make sure table cells and other odd frames are given views if they need them. r=dbaron,sr=kin 2002-12-06 14:22:11 +00:00
roc+@cs.cmu.edu
7eb59f3ab8 backing out fix to 90099 to check Tp effect 2002-12-06 02:24:35 +00:00
roc+@cs.cmu.edu
873731fef5 Bug 90099. Make sure table cells and other odd frames are given views if they need them. r=dbaron,sr=kin 2002-12-05 22:26:47 +00:00
karnaze@netscape.com
69749a7a87 bug 180805 - Added GetAdjustedParentFrame to handle fieldsets. Moved inner/outer table logic there. Added fieldset logic to IsValidSibling. sr=bzbarsky, r=jkeiser. 2002-12-03 16:02:42 +00:00
peterv@netscape.com
fd22bd13c9 Fix for bug 176610 (Make nsNameSpaceManager a service). r=caillon, sr=jst. 2002-11-29 23:44:07 +00:00
dbaron@fas.harvard.edu
42bd1bc6ce Back out previous checkin. b=180711 2002-11-28 19:15:27 +00:00
dbaron@fas.harvard.edu
9d050fc8dd Don't use default parameters for NS_NewAreaFrame. Make relatively positioned frames not use NS_BLOCK_WRAP_SIZE and NS_BLOCK_SPACE_MGR. b=180711 r=bzbarsky 2002-11-28 19:12:16 +00:00
karnaze@netscape.com
af46fd01c7 bug 178855 - don't support fixed, absolute, floating tables that are the root content. sr=bzbarsky, r=dbaron. 2002-11-18 16:02:43 +00:00
dbaron@fas.harvard.edu
6d560f559a Fix typos in my previous checkin noticed by bzbarsky. b=147887 2002-11-18 15:21:14 +00:00
dbaron@fas.harvard.edu
72f2298b73 Consolidate all CSS pseudos and split them into three atom lists to distinguish between pseudo-classes, pseudo-elements, and fake-pseudo-elements used for anonymous boxes. b=147887 r,sr=roc,bz 2002-11-17 15:37:56 +00:00
karnaze@netscape.com
34abd87dc7 bug 119786 - don't consider a caption and row group frame to be siblings (caption and row group content are siblings). sr=kin, r=bernd. 2002-11-12 15:55:39 +00:00
dbaron@fas.harvard.edu
6cf69deb45 Move the body background repainting hack from the reflow case to the framechange case, since roc's style hint processing changes make it no longer needed in the reflow case, but it's always been needed for the framechange case. b=175131 r=roc sr=kin 2002-11-12 11:17:55 +00:00
bzbarsky@mit.edu
9e9619c56e ApplyRenderingChangeToTree should walk {ib} "special siblings". Bug
146409, r=dbaron, sr=roc+moz
2002-11-12 04:21:33 +00:00
alecf@netscape.com
b1219d58a0 prep for fixing bug 176559 - use getService rather than createInstance so we stop creating element factories
sr=peterv/jst, r=bzbarsky
2002-11-07 21:23:09 +00:00
bzbarsky@mit.edu
878f8d36d9 ReframeContainingBlock needs to work on <body> and such too. Bug 74951,
r=caillon, sr=dbaron
2002-11-06 02:26:52 +00:00
timeless@mac.com
ad63126baa Bug 77716 Scrollbar is loading asynchronously! - Trunk [@ nsCSSFrameConstructor::ConstructDocElementFrame] [@ .__ptr_glue - nsCSSFrameConstructor::ContentInserted]
patch by hyatt r=jag,dbaron sr=bz, a=dbaron
2002-10-24 03:11:53 +00:00
bzbarsky@mit.edu
e2e97e23c0 Make sure tr/td/tbody/etc elements with display:none end up in the
undisplayed content map.  Bug 151883, r=karnaze, sr=dbaron, a=asa
2002-10-16 03:06:03 +00:00
bzbarsky@mit.edu
39f7aebfb1 Make GetParent on nsStyleContext return an
already_AddRefed<nsIStyleContext>.  Bug 171808, r=jkeiser, sr=dbaron
2002-10-09 01:46:15 +00:00
roc+@cs.cmu.edu
bd21d6d8e7 Bug 171802. Make sure views are initialized with the right properties! r=dbaron,sr=kin 2002-10-01 21:45:33 +00:00
roc+@cs.cmu.edu
8d1393e3de Bug 113083. Concentrate view setup code into a few shared functions in nsContainerFrame. Only change style-dependent view properties after style change, not during reflow, in response to nsChangeHint_SyncFrameView. Change 'clip' to only do SyncFrameView, not reflow. r=dbaron,sr=kin 2002-09-30 11:56:37 +00:00
jkeiser@netscape.com
1bfcabb42f Fix crash on fixed position selects (Rick.Ju@sun.com's patch, bug 166750), r=dbaron@fas.harvard.edu, sr=kin@netscape.com 2002-09-26 23:51:23 +00:00
jkeiser@netscape.com
e7efa98e80 Make nsHTMLValue store embedded nulls (r=sicking@netscape.com, sr=bzbarsky@mit.edu, sr=jaggernaut@netscape.com 2002-09-26 07:41:53 +00:00
karnaze@netscape.com
e3634f3f50 bug 167915 - remove 2nd patch of bug 138725 and install the 1st. sr=kin, r=jkeiser. 2002-09-25 13:56:40 +00:00
bryner@netscape.com
92f73d243d Fix regression where select dropdowns would not draw on Linux if native theme support was enabled (bug 170672). Only call WidgetStateChanged() if the theme claims to support the widget in question; fix an incorrect frame being passed to WidgetStateChanged. r=hewitt, sr=hyatt. 2002-09-25 10:07:40 +00:00
hyatt@netscape.com
bcb6aea72a Fix for 169373, make HTML form controls fully support native look on Windows XP. r/sr=hewitt/blake 2002-09-21 01:03:38 +00:00
roc+@cs.cmu.edu
1b1391b125 Bug 153907. Give IFRAMEs their correct content-parent even though they construct their views in the wrong order. r=jkeiser,sr=kin 2002-09-18 01:17:02 +00:00
jkeiser@netscape.com
66505be142 Backing out fix to bug 162572 to see if it fixes btek pageload numbers 2002-09-16 19:45:59 +00:00
jkeiser@netscape.com
88a893d7c0 Allow nsHTMLValue to store embedded nulls (bug 162572), r=sicking@bigfoot.com, sr=bzbarsky@mit.edu 2002-09-16 06:19:27 +00:00
karnaze@netscape.com
ef2caf645e bug 139524 - handle style of col's with spans. sr=kin, r=bernd 2002-09-15 03:45:10 +00:00
bzbarsky@mit.edu
f2995453fa Fix some inline-block style-resolution issues. Bug 146409, r=kin, r=dbaron 2002-09-12 20:33:11 +00:00
dougt@netscape.com
46ce738546 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 17:13:19 +00:00
jkeiser@netscape.com
d278e71006 Make anonymous content inaccessible to web content (bug 164086), r=sicking@bigfoot.com, sr=jst@netscape.com 2002-08-29 04:05:39 +00:00
bbaetz@student.usyd.edu.au
219c2873d7 Backing out jkeiser's checkin for bug 164086 (not bug 96537) because he
left a file out, and the tree turned red....
2002-08-28 10:13:28 +00:00
jkeiser@netscape.com
fd41ac9c83 Make anonymous content inaccessible to web content (bug 96537), r=sicking@bigfoot.com, sr=jst@netscape.com 2002-08-28 08:19:43 +00:00
roc+@cs.cmu.edu
458e434a36 Bug 160936. Add type nsChangeHint for style hints. Make it a set of bits. Make sure an NS_STYLE_HINT_REFLOW always also does a repaint of the frame. r=dbaron,sr=kin 2002-08-24 14:41:28 +00:00
dbaron@fas.harvard.edu
ba01074640 Fix XUL style attribute change regression by making |#ifdef MOZ_SVG| code the default, but moved elsewhere. b=163481 r=bbaetz sr=bryner 2002-08-22 00:01:30 +00:00
dbaron@fas.harvard.edu
d655f8e88c Correctly process a framechange hint on the root element to prevent crashes. Prevent selects from triggering style reresolution before they're added to the document, and prevent a little bit more reresolution that's a performance hit. b=143862 r=bzbarsky, jkeiser sr=jst, waterson 2002-08-19 18:35:09 +00:00
dbaron@fas.harvard.edu
60bf1448c2 Make PopupSet registration on the root box frame done by the popupset and add unregistration when the popupset goes away to fix crashes from dangling pointers. b=156719 (and 136513) r=bryner sr=kin 2002-08-19 18:29:29 +00:00
rbs@maths.uq.edu.au
c31cdf4e8a Merge mi/ms/mtext in a single token class and make mo inherit from the token class. The merge allows centralizing the special treatment needed for their child text frames that are non-MathML, b=162412, r=roc+moz, sr=kin 2002-08-16 21:36:31 +00:00
dbaron@fas.harvard.edu
53b49ce7da Handle style attribute changes in XUL through the normal style change mechanism rather than forcing a reframe. Change nsIStyledContent::WalkInlineStyleRules to nsIStyledContent::GetInlineStyleRule to simplify nsCSSFrameConstructor::AttributeChanged. b=156971 sr=hyatt r=bzbarsky 2002-08-16 11:29:20 +00:00
bzbarsky@mit.edu
881c4518ea Fix crash; we may have a #text node. Bug 159359, r=sicking, sr=jst 2002-08-15 02:28:54 +00:00