800 Commits

Author SHA1 Message Date
roc+%cs.cmu.edu
2d32b81421 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
git-svn-id: svn://10.0.0.236/trunk@134892 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-06 14:22:11 +00:00
roc+%cs.cmu.edu
6895913433 backing out fix to 90099 to check Tp effect
git-svn-id: svn://10.0.0.236/trunk@134874 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-06 02:24:35 +00:00
roc+%cs.cmu.edu
a3507947d9 Bug 90099. Make sure table cells and other odd frames are given views if they need them. r=dbaron,sr=kin
git-svn-id: svn://10.0.0.236/trunk@134860 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-05 22:26:47 +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
peterv%netscape.com
d103a96ada Fix for bug 176610 (Make nsNameSpaceManager a service). r=caillon, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@134587 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-29 23:44:07 +00:00
dbaron%fas.harvard.edu
bbf1cff0b4 Back out previous checkin. b=180711
git-svn-id: svn://10.0.0.236/trunk@134575 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-28 19:15:27 +00:00
dbaron%fas.harvard.edu
782bef8d5f 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
git-svn-id: svn://10.0.0.236/trunk@134574 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-28 19:12:16 +00:00
karnaze%netscape.com
46b83bd196 bug 178855 - don't support fixed, absolute, floating tables that are the root content. sr=bzbarsky, r=dbaron.
git-svn-id: svn://10.0.0.236/trunk@134045 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-18 16:02:43 +00:00
dbaron%fas.harvard.edu
8fa2ad5646 Fix typos in my previous checkin noticed by bzbarsky. b=147887
git-svn-id: svn://10.0.0.236/trunk@134043 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-18 15:21:14 +00:00
dbaron%fas.harvard.edu
307f43b5a1 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
git-svn-id: svn://10.0.0.236/trunk@134006 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-17 15:37:56 +00:00
karnaze%netscape.com
40cb00ae72 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.
git-svn-id: svn://10.0.0.236/trunk@133657 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-12 15:55:39 +00:00
dbaron%fas.harvard.edu
71b85664e2 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
git-svn-id: svn://10.0.0.236/trunk@133652 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-12 11:17:55 +00:00
bzbarsky%mit.edu
dd6256cb73 ApplyRenderingChangeToTree should walk {ib} "special siblings". Bug
146409, r=dbaron, sr=roc+moz


git-svn-id: svn://10.0.0.236/trunk@133621 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-12 04:21:33 +00:00
alecf%netscape.com
b548b7bdf9 prep for fixing bug 176559 - use getService rather than createInstance so we stop creating element factories
sr=peterv/jst, r=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@133318 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-07 21:23:09 +00:00
bzbarsky%mit.edu
75e86ee39c ReframeContainingBlock needs to work on <body> and such too. Bug 74951,
r=caillon, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@133083 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-06 02:26:52 +00:00
timeless%mac.com
2a8d75a3c0 Bug 77716 Scrollbar is loading asynchronously! - Trunk [@ nsCSSFrameConstructor::ConstructDocElementFrame] [@ .__ptr_glue - nsCSSFrameConstructor::ContentInserted]
patch by hyatt r=jag,dbaron sr=bz, a=dbaron


git-svn-id: svn://10.0.0.236/trunk@132435 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-24 03:11:53 +00:00
bzbarsky%mit.edu
b63bfb40bf 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


git-svn-id: svn://10.0.0.236/trunk@132057 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-16 03:06:03 +00:00
bzbarsky%mit.edu
a70a392a2c Make GetParent on nsStyleContext return an
already_AddRefed<nsIStyleContext>.  Bug 171808, r=jkeiser, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@131531 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-09 01:46:15 +00:00
roc+%cs.cmu.edu
91eaac234c Bug 171802. Make sure views are initialized with the right properties! r=dbaron,sr=kin
git-svn-id: svn://10.0.0.236/trunk@130921 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-01 21:45:33 +00:00
roc+%cs.cmu.edu
e25496d35f 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
git-svn-id: svn://10.0.0.236/trunk@130792 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-30 11:56:37 +00:00
jkeiser%netscape.com
bbbc1f29b9 Fix crash on fixed position selects (Rick.Ju@sun.com's patch, bug 166750), r=dbaron@fas.harvard.edu, sr=kin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@130551 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-26 23:51:23 +00:00
jkeiser%netscape.com
c5b034aaae Make nsHTMLValue store embedded nulls (r=sicking@netscape.com, sr=bzbarsky@mit.edu, sr=jaggernaut@netscape.com
git-svn-id: svn://10.0.0.236/trunk@130511 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-26 07:41:53 +00:00
karnaze%netscape.com
57d7acbbf5 bug 167915 - remove 2nd patch of bug 138725 and install the 1st. sr=kin, r=jkeiser.
git-svn-id: svn://10.0.0.236/trunk@130421 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-25 13:56:40 +00:00
bryner%netscape.com
7de2339127 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.
git-svn-id: svn://10.0.0.236/trunk@130416 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-25 10:07:40 +00:00
hyatt%netscape.com
231ada71e5 Fix for 169373, make HTML form controls fully support native look on Windows XP. r/sr=hewitt/blake
git-svn-id: svn://10.0.0.236/trunk@130192 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-21 01:03:38 +00:00
roc+%cs.cmu.edu
992d8265ec Bug 153907. Give IFRAMEs their correct content-parent even though they construct their views in the wrong order. r=jkeiser,sr=kin
git-svn-id: svn://10.0.0.236/trunk@129858 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-18 01:17:02 +00:00
jkeiser%netscape.com
5128c55e14 Backing out fix to bug 162572 to see if it fixes btek pageload numbers
git-svn-id: svn://10.0.0.236/trunk@129738 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-16 19:45:59 +00:00
jkeiser%netscape.com
758bd51d55 Allow nsHTMLValue to store embedded nulls (bug 162572), r=sicking@bigfoot.com, sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@129681 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-16 06:19:27 +00:00
karnaze%netscape.com
e5afbfa65b bug 139524 - handle style of col's with spans. sr=kin, r=bernd
git-svn-id: svn://10.0.0.236/trunk@129634 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-15 03:45:10 +00:00
bzbarsky%mit.edu
2539b61b98 Fix some inline-block style-resolution issues. Bug 146409, r=kin, r=dbaron
git-svn-id: svn://10.0.0.236/trunk@129411 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-12 20:33:11 +00:00
dougt%netscape.com
e289284076 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/trunk@129050 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 17:13:19 +00:00
jkeiser%netscape.com
00f9a12d62 Make anonymous content inaccessible to web content (bug 164086), r=sicking@bigfoot.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@128436 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-29 04:05:39 +00:00
bbaetz%student.usyd.edu.au
4e8a1e0dc7 Backing out jkeiser's checkin for bug 164086 (not bug 96537) because he
left a file out, and the tree turned red....


git-svn-id: svn://10.0.0.236/trunk@128332 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-28 10:13:28 +00:00
jkeiser%netscape.com
958a25b600 Make anonymous content inaccessible to web content (bug 96537), r=sicking@bigfoot.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@128330 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-28 08:19:43 +00:00
roc+%cs.cmu.edu
c6bb83f66a 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
git-svn-id: svn://10.0.0.236/trunk@128041 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-24 14:41:28 +00:00
dbaron%fas.harvard.edu
3c91110102 Fix XUL style attribute change regression by making |#ifdef MOZ_SVG| code the default, but moved elsewhere. b=163481 r=bbaetz sr=bryner
git-svn-id: svn://10.0.0.236/trunk@127813 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-22 00:01:30 +00:00
dbaron%fas.harvard.edu
5ae251ef21 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
git-svn-id: svn://10.0.0.236/trunk@127628 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-19 18:35:09 +00:00
dbaron%fas.harvard.edu
8ec55d91d3 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
git-svn-id: svn://10.0.0.236/trunk@127625 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-19 18:29:29 +00:00
rbs%maths.uq.edu.au
a0fbf5f0ca 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
git-svn-id: svn://10.0.0.236/trunk@127492 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-16 21:36:31 +00:00
dbaron%fas.harvard.edu
de6516960e 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
git-svn-id: svn://10.0.0.236/trunk@127460 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-16 11:29:20 +00:00
bzbarsky%mit.edu
dd8a124fb9 Fix crash; we may have a #text node. Bug 159359, r=sicking, sr=jst
git-svn-id: svn://10.0.0.236/trunk@127339 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-15 02:28:54 +00:00
bzbarsky%mit.edu
d47090aca6 Fix crash bug 159359, patch by leon.zhang@sun.com, r=jkeiser, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@127209 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-13 23:33:58 +00:00
dbaron%fas.harvard.edu
008bc23d0e Stop using |nsCOMPtr|s on nsIBox and nsIMenuParent, which are always implemented on frames, to prevent calling of |Release| after frame destruction and freeing to the pres shell arena. b=114235 r=bryner sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@126498 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 12:48:28 +00:00
jkeiser%netscape.com
325bff7164 Change ns(I)GfxTextControlFrame(2) -> ns(I)TextControlFrame (bug 129909), r=rods
@netscape.com, sr=bzbarsky@mit.edu, a=asa


git-svn-id: svn://10.0.0.236/trunk@125891 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 20:57:24 +00:00
cbiesinger%web.de
98a1043bbe bug 158937 r=timeless sr=bz a=asa
comment wrong


git-svn-id: svn://10.0.0.236/trunk@125732 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-24 20:53:50 +00:00
bzbarsky%mit.edu
ff3b5f1bd2 Bug 158230. Clear out all the relevant style data when inline style
causes reframes.  r=dbaron, sr=hyatt, a=asa


git-svn-id: svn://10.0.0.236/trunk@125648 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-23 23:18:26 +00:00
leaf%mozilla.org
d71824c07d backout dataloss-causing fixes for 143862 and 156719, a=asa
git-svn-id: svn://10.0.0.236/trunk@125515 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-19 21:58:09 +00:00
dbaron%fas.harvard.edu
38d0ce2531 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
git-svn-id: svn://10.0.0.236/trunk@124928 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-10 02:24:18 +00:00
rbs%maths.uq.edu.au
96700ff7a9 crash if position: absolute applied to <math>, b=151054, r=roc+moz, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@124799 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-09 01:34:12 +00:00
timeless%mac.com
042f32d6d7 Bug 143903 crash if I close the mail window while a save as dialog is open for a message attachment
patch by antonio.xu@sun.com r=dbaron sr=waterson


git-svn-id: svn://10.0.0.236/trunk@123751 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-21 01:55:14 +00:00