342 Commits

Author SHA1 Message Date
roc+%cs.cmu.edu
986d8acdaa Bug 225820. Fold nsFrameInnerFrame into nsFrameOuterFrame, rename to nsSubDocumentFrame, and generally clean up this mess. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@151139 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-10 05:36:32 +00:00
bryner%brianryner.com
b5347dd60c Change all callers of nsIPresContext::GetShell() to use the non-refcounting versions. Most callers now use PresShell(), a few that were checking for null conditions are using GetPresShell() -- this will be remedied once we can ensure that a prescontext never has a null pres shell. Bug 227690, r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@150598 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-21 05:36:36 +00:00
jst%mozilla.jstenback.com
2affc5b4f0 Fixing bug 225837. DeCOMtaminating nsIContent more, making GetTag() return a weak raw pointer, and renaming GetTag() to Tag(), and making GetRangeList() return an const nsVoidArray*, and changing GetContentID() to return the id, and renaming it to ContentID(). r=jonas@sicking.cc, sr=bryner@brianryner.com.
git-svn-id: svn://10.0.0.236/trunk@149527 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-19 01:20:56 +00:00
tor%cs.brown.edu
2655f63ca9 Bug 224628 - backout part of 212366 so that scrolling=no works. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@148834 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-04 15:50:09 +00:00
uid502
d31f6d57f4 Bug 212366. Make nsFrameInnerFrame be a moz-anonymous-box pseudoelement. This stops style on an IFRAME from being applied to both the outerframe and the innerframe. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@148674 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-01 01:34:06 +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
caillon%returnzero.com
c1914505cb Re-land patch for bug 83536, merging principal objects.
Also includes fixes from bug 216041.
r=bzbarsky
sr=jst


git-svn-id: svn://10.0.0.236/trunk@148229 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-21 22:11:49 +00:00
uid502
f97b0819f2 Bug 165149. More cleanup. Make nsStyleContext::GetPseudoType return a weak pointer. Also remove unnecessary arguments to nsHTMLContainerFrame::CreateViewForFrame. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@148055 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-17 02:38:37 +00:00
dbaron%dbaron.org
7f83c6facc Fix regression of scrolling attribute and overflow property on frame and iframe elements. Make the two interact correctly according to CSS cascading rules. b=220195 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@147278 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-25 03:55:04 +00:00
caillon%returnzero.com
d55b44719f Backing out the patch to bug 83536.
I will reland this when 1.6a re-opens.
r+sr=jst@netscape.com
a=chofmann


git-svn-id: svn://10.0.0.236/trunk@146256 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-22 03:06:53 +00:00
bzbarsky%mit.edu
82c14d79dd DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@145289 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-28 21:25:13 +00:00
caillon%returnzero.com
cd46cbbaad Bug 83536.
Merge script principal implementations into one class.
Should reduce footprint, speed up calls to caps a little bit, and fixes several memory leaks.
Also fixes bugs 211174 and 211263
r=jst@netscape.com
sr=bzbarsky@mit.edu
moa=mstoltz@netscape.com (he looked at an earlier patch and said it looked fine, and will do a retroactive review when he returns from vacation as well)


git-svn-id: svn://10.0.0.236/trunk@145137 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-24 05:15:20 +00:00
dbaron%dbaron.org
593f58592d Remove hint parameter from AttributeChanged methods and simplify style hint mechanism. b=211308 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@144735 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-11 21:16:12 +00:00
roc+%cs.cmu.edu
5d6a476ee2 Ongoing deCOMtamination. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@144477 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-05 15:30:50 +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
caillon%returnzero.com
0a6d1ae509 Bug 209087
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com


git-svn-id: svn://10.0.0.236/trunk@143683 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-13 20:10:01 +00:00
dwitte%stanford.edu
dc7e857400 bug 100649: Length() being used where IsEmpty() is meant
treewide changes to convert incorrect usages of string.Length() to string.IsEmpty().

thanks to afatecha@idea.com.py (Ariel Fatecha) for the patch. r=dwitte, sr=jst.

got the ok from Asa to land into a closed tree.


git-svn-id: svn://10.0.0.236/trunk@142828 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-23 21:34:47 +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
peterlubczynski%netscape.com
fa1fbae9a6 Removing nsPluginViewer.cpp and friends, bug 195502, r=jkeiser, sr=alecf, a=asa
git-svn-id: svn://10.0.0.236/trunk@141776 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-25 00:21:12 +00:00
bzbarsky%mit.edu
eefaa620cb Make iframes and objects obey CSS max-width/height and min-width/height if
their sizes are unconstrained.  Bug 181875, r+sr=roc+moz


git-svn-id: svn://10.0.0.236/trunk@141192 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-15 19:28:06 +00:00
roc+%cs.cmu.edu
9fdb0cfc22 Bug 198479. nsFrameOuterFrame doesn't actually handle CSS 'visibility', just hide its view. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@140768 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-06 20:14:54 +00:00
roc+%cs.cmu.edu
4dfef42d7f Bug 197065. Do more complete invalidation on block size changes. r=jkeiser,sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@140754 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-05 21:27:45 +00:00
aaronl%netscape.com
affc2f4d4e Bug 199060. Move most accessibility code out of widget. Merge MSAA-specific and XP accessibility object hierarchies into one tree of objects. Paves way for XP accessibility caching, more stability, and it's just better. r=kyle, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@140501 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-01 20:02:51 +00:00
aaronl%netscape.com
60b1c05bf1 Bug 194968. Use content id properly to expose whether window is content vs. UI. r/sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@139051 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-06 23:07:00 +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
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
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
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
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
peterlubczynski%netscape.com
9979a08e6e Fixing bug 173938 with a hack for full-page plugins to be destroyed before the frame. r=av sr=jst
git-svn-id: svn://10.0.0.236/trunk@134037 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-18 07:48:10 +00:00
jaggernaut%netscape.com
3961099bb6 Bug 171274: check parent shell type for primary content frames. r=dbaron, sr=jst, a=drivers
git-svn-id: svn://10.0.0.236/trunk@132475 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-25 00:00:54 +00:00
akkana%netscape.com
2557fc84c3 176505: Fix composer/mail compose regression, back out jag. a=blizzard & #mozilla
git-svn-id: svn://10.0.0.236/trunk@132467 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-24 19:58:36 +00:00
jaggernaut%netscape.com
5bc0accd00 Bug 171274: check shell type for primary content frames. r=/sr=jst,hyatt, a=drivers
git-svn-id: svn://10.0.0.236/trunk@132443 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-24 04:32:20 +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
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
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
bzbarsky%mit.edu
28b1505b87 Fix bug 159268 (hiding and reshowing an iframe regression). r=sicking,
sr=jst, a=asa


git-svn-id: svn://10.0.0.236/trunk@125907 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 23:11:19 +00:00
bzbarsky%mit.edu
a844108e85 Fix tab switching in embedding apps. Bug 139294,
r=philipl@mail.utexas.edu, sr=jst, a=asa


git-svn-id: svn://10.0.0.236/trunk@125602 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-23 03:45:06 +00:00
roc+%cs.cmu.edu
614583e822 Bug 50623. Don't forget background styles inherited from the initial context. This has the effect of making FRAME/IFRAME documents transparent by default. Also, make FRAME/IFRAME elements paint any background styles set on them. r=dbaron,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@122398 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-31 03:20:23 +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
kmcclusk%netscape.com
636f37816d Move logic in nsHTMLFrameInnerFrame's destroy to nsHTMLFrameInnerFrame:Destroy so its contents are destroyed *before* nsHTMLFrameInnerFrame is destroyed. bug=66748 r=jkeiser@netscape.com sr=attinasi@netscape.com
git-svn-id: svn://10.0.0.236/trunk@121235 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 01:25:41 +00:00
jkeiser%netscape.com
cdf91f6f16 Make iframe border repaint when style changes (bug 124507), r=waterson@netscape.com, sr=attinasi@netscape.com
git-svn-id: svn://10.0.0.236/trunk@120131 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-28 07:53:41 +00:00
jst%netscape.com
a9a7bb82fa Fixing Txul regression bug 138012. Make docshells always accessible through box objects and load about:blank when no src is specified on a frame. Eliminate creation of synthetic documents when they're not needed. r=peterv@netscape.com, sr=jaggernaut@netscape.com
git-svn-id: svn://10.0.0.236/trunk@119902 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 23:04:52 +00:00
jst%netscape.com
856750ef5c Fixing printing crash bug 127891. Make the destruction of printing related frames not hide iframe's document viewers. r=rods@netscape.com, sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@119570 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-22 23:12:18 +00:00
jst%netscape.com
1e97d5f5a8 Fixing regression bug 138540. Make iframe's with scrollbars='no' not have scrollbars. r=bzbarsky@mit.edu, sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@119440 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 23:55:45 +00:00
jst%netscape.com
5723ee1e99 One more minor tweak for blocker bug 138007 (checked in the wrong diff last time). Making iframe.src=... not load the src twice when the iframe is visible. r=jkeiser@netscape.com, sr=heikki@netscape.com
git-svn-id: svn://10.0.0.236/trunk@119317 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 22:06:37 +00:00