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
timeless%mozdev.org
f104e2ff56
Bug 156405 Tabbed browsing frequently crashes Mozilla - Trunk M130A [@ nsXULWindow::ContentShellAdded]
...
patch by bsmedberg@covad.net r=roc+moz, sr=roc+moz, a=roc+moz
git-svn-id: svn://10.0.0.236/trunk@137216 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-31 21:31:48 +00:00
karnaze%netscape.com
8ece4a7c7a
bug 179683 - implement printing of fixed positioned elemements, clean up ViewportFrame. sr=roc, r=bzbarsky.
...
git-svn-id: svn://10.0.0.236/trunk@136686 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-20 18:04:34 +00:00
rbs%maths.uq.edu.au
534041f379
In certain dynamic updates, frames scheduled to be reprocessed could be destroyed in a ripple effect. Since this was a root problem, the patch fixes the crasher bugs 123049, 133219 154797 187671 187890, r=bzbarsky, sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@136649 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-20 01:07:03 +00:00
karnaze%netscape.com
23adc41944
Added AdjustAbsoluteContainingBlock to get the first-in-flow of a positioned inline frame in galley mode as the absolute containing block. sr=bzbarsky, r=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@136638 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-19 18:58:59 +00:00
dbaron%dbaron.org
d88b1da3bc
Fix misplaced closing } from patch in bug 188734. b=189292
...
git-svn-id: svn://10.0.0.236/trunk@136413 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-16 13:59:52 +00:00
bzbarsky%mit.edu
291ec6eb41
Move GetFirstInFlow/GetLastInFlow up to nsIFrame. Bug 187117, r=roc+moz, sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@136402 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-16 02:59:04 +00:00
dbaron%dbaron.org
eeb782e6c5
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
...
git-svn-id: svn://10.0.0.236/trunk@136277 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-14 01:29:34 +00:00
dbaron%dbaron.org
c278517282
Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
...
git-svn-id: svn://10.0.0.236/trunk@136010 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 21:19:10 +00:00
bzbarsky%mit.edu
8d092fcca8
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).
git-svn-id: svn://10.0.0.236/trunk@135852 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-05 05:05:17 +00:00
bernd.mielke%snafu.de
01e1c41113
fix an uninitialized warning, bug 155539 patch by karnaze@netscape.com r=alexsavulov sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@135845 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-04 10:49:50 +00:00
jkeiser%netscape.com
ac42e42ba8
Make GetType() return int instead of nsresult (bug 167762), r=peterl@netscape.com, sr=kin@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@135468 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-18 23:38:09 +00:00
dbaron%fas.harvard.edu
721fd4b402
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
...
git-svn-id: svn://10.0.0.236/trunk@135259 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-13 20:13:17 +00:00
caillon%returnzero.com
8a1bf17a45
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
git-svn-id: svn://10.0.0.236/trunk@135125 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 14:05:41 +00:00
caillon%returnzero.com
d751688cb9
Backing out these changes since they appear to have caused a Txul regression on some tinderboxes (not all... weird...)
...
git-svn-id: svn://10.0.0.236/trunk@135111 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 05:11:02 +00:00
caillon%returnzero.com
6b60a8affb
Bug 181975 - Convert layout to use nsIPrefService, nsIPrefBranch, and friends.
...
r/sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@135068 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-10 23:41:12 +00:00
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