783 Commits

Author SHA1 Message Date
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
jkeiser%netscape.com
be99cc147f Make form within table or tr not create a cell frame and screw up layout. bug 149282, r=dbaron@fas.harvard.edu, sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@123307 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-14 06:47:35 +00:00
dbaron%fas.harvard.edu
cfc603f54a Fix crashes related to editing of HR elements by wrapping generated content for leaf frames in an extra frame so :before and :after are always the first/last children of the primary frame. Disable generated content for floating and absolutely positioned leaf frames. b=141054 sr=waterson r=kin
git-svn-id: svn://10.0.0.236/trunk@123127 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-12 03:27:48 +00:00
jkeiser%netscape.com
54975d102e Rest of patch (partial commit before). Remove nsFormFrame forever. bug 125578, r=alexsavulov@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@122621 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-04 02:00:34 +00:00
karnaze%netscape.com
bbd8189ddf bug 1458423 - don't repeat a thead or tbody that is continued. sr=attinasi, r=alexsavulov.
git-svn-id: svn://10.0.0.236/trunk@122419 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-31 14:32:38 +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
dbaron%fas.harvard.edu
cc452efb5b Fix FindPrimaryFrameFor regression: when previous sibling is out-of-flow, start search from previous sibling's placeholder. b=145224 sr=waterson r=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@122188 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-26 17:07:07 +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
dbaron%fas.harvard.edu
554bf97dfe Move implementation of HTML label element entirely into the content model so that it can have any display type: implement the event-munging and accesskey support in nsHTMLLabelElement. For the latter, share some code with nsHTMLAnchorElement and remove extra parameter from nsIEventStateManager access key methods. b=96813 r=jkeiser sr=jst
git-svn-id: svn://10.0.0.236/trunk@121986 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-22 00:14:51 +00:00
jst%netscape.com
7b7411c3ef Fixing bug 134278. Die kNameSpaceID_HTML, die! r=sicking@bigfoot.com, sr=heikki@netscape.com
git-svn-id: svn://10.0.0.236/trunk@121894 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-20 22:47:02 +00:00
hewitt%netscape.com
0917e34b31 126480 - autocomplete popup doesn't appear the first time you type, r=ben, sr=bryner
git-svn-id: svn://10.0.0.236/trunk@121779 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 21:24:48 +00:00
dbaron%fas.harvard.edu
6ebd080e55 Clean up FindFrameWithContent. No need to search children of special frames too (hang bug 140275). Use special sibling when next-in-flow isn't available, and use the hint even when we have special frames. Convert gotos into additional while loop. Turn useless :after check into assertion. Don't modify aParentFrame and aParentContent for when the hint fails. b=140275 r=attinasi sr=waterson
git-svn-id: svn://10.0.0.236/trunk@121620 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 13:39:44 +00:00
dbaron%fas.harvard.edu
4f72a32cd9 Attempt to refix bug 118014 crash by removing SetUndisplayedPseudoIn and doing run-time checks that we're not inserting the same node into the undisplayed map twice. b=136704 r=attinasi sr=waterson
git-svn-id: svn://10.0.0.236/trunk@121617 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 13:30:57 +00:00
karnaze%netscape.com
3c41b1b999 bug 138725 - Reflow placeholder's out of flow frame in DoCleanupFrameReferences. Avoid reframing when an inline is appended to an inline containing a block. sr=waterson, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@120807 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 02:02:35 +00:00
dbaron%fas.harvard.edu
c57d40b6dc Don't double-create :before and :after content by checking |processChildren| in ConstructHTMLFrame and only doing the hacky (and probably incorrect) sibling-:before/:after construction for leaf frames. b=141289 r=attinasi sr=waterson
git-svn-id: svn://10.0.0.236/trunk@120376 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 00:51:36 +00:00
dbaron%fas.harvard.edu
a681655481 Remove ClearUndisplayedContentMap hack from ReconstructStyleData (expanded for bug 118014; see bug 136728). Fix multiple content inserted notifications from XBL (the real cause of bug 118014) by checking the undisplayed content map in addition to the primary frame map. Fix FrameManager::GetUndisplayedContent to work correctly, and remove code in nsCSSFrameConstructor::AttributeChanged that was working around its brokenness. b=136704 sr=waterson r=attinasi
git-svn-id: svn://10.0.0.236/trunk@120372 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 00:36:50 +00:00
karnaze%netscape.com
bd65918973 bug 138292 - add a non table related frame to its parent frame's child list when the parent frame is an anonymous table cell frame. sr=waterson, r=alexsavulov.
git-svn-id: svn://10.0.0.236/trunk@120334 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 21:45:58 +00:00
karnaze%netscape.com
cc7a86e2f4 bug 113235 - avoid reframing when content is inserted inside an inline frame which contains a block. sr=waterson, r=attinasi.
git-svn-id: svn://10.0.0.236/trunk@120331 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 21:34:15 +00:00