bryner%brianryner.com
018aeefc0d
More nsIPresContext deCOMtamination (bug 229371). Inline getters and setters for LinkHandler, VisibleArea, and Language; change some methods that don't return any useful data to |void|; make GetContainer return an already_AddRefed. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@152137 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-01 10:09:07 +00:00
bzbarsky%mit.edu
1dbae383cd
Make sure file control frames always have a space manager. Bug 232017, r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@152134 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-01 04:07:17 +00:00
bryner%brianryner.com
b4581d93cf
Continuing nsIPresContext deCOMtamination (bug 229371). Remove ReParentStyleContext - callers can call frame manager directly. Removed several unused setters. Inlined getters for default colors, font scaler, and focus ring width. Changed GetDefaultFont to return a const nsFont*. r+sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@152127 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-31 22:41:40 +00:00
bzbarsky%mit.edu
a77e45ace4
Fix XBL extension of XHTML namespaced nodes. Bug 176606, patch by hyatt,
...
r=jst, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@152124 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-31 19:09:47 +00:00
roc+%cs.cmu.edu
0456e20a91
Bug 109772. Some nsIView deCOMtamination. Fixed the API for GetNeearestWidget to be sensible. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@152067 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-30 03:20:41 +00:00
bryner%brianryner.com
e46f7c8143
More nsIPresContext deCOMtamination (bug 229371). Removed GetBaseURL, rename GetMedium to Medium and inline it, remove virtual style resolution methods that forward to style set (callers will call style set methods directly). Removed PresContext parameter to StyleSet style resolution functions. r+sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@151927 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-28 00:18:22 +00:00
bzbarsky%mit.edu
6d00103488
Remove the broken nsAttributeContent and just use regular textnodes to
...
implement attr() content. Use mutation events to handle dynamic attr changes.
Bug 214013, r=dbaron, sr=jst
git-svn-id: svn://10.0.0.236/trunk@151885 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-27 04:22:58 +00:00
dbaron%dbaron.org
36db5d8dff
Reduce randomness in indentation and line wrapping. Whitespace changes only.
...
git-svn-id: svn://10.0.0.236/trunk@151709 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-22 21:58:28 +00:00
dbaron%dbaron.org
93fe82725e
Fix two problems with display fixups. b=231787 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@151708 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-22 21:34:04 +00:00
bryner%brianryner.com
2dce372072
DeCOMtaminate nsCSSFrameConstructor (bug 231157). This gets rid of the nsIStyleFrameConstruction and nsICSSFrameConstructor interfaces. The frame constructor now has the same lifetime as the pres shell. r+sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@151662 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-21 23:05:10 +00:00
dbaron%dbaron.org
4ff69b3d4c
Refactor code that calls ComputeStyleChangeFor and handles the result. b=231027 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@151466 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-17 22:43:14 +00:00
dbaron%dbaron.org
36435245d2
Remove nsChangeHint_ReconstructDoc. b=230945 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@151356 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-15 03:32:06 +00:00
dbaron%dbaron.org
44cf91f9e8
Do style resolution of later siblings required by the CSS + combinator on event state and attribute changes by changing the result of Has(Attribute|State)DependentStyle into a bitfield and setting and handling the restyle-later-siblings bit appropriately. b=15608 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@151284 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-14 01:36:35 +00:00
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
jst%mozilla.jstenback.com
803e4eb910
General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission. Eliminating nsIAttributeContent, and doing some URL->URI changes. r+sr=peterv@propagandism.org
...
git-svn-id: svn://10.0.0.236/trunk@151115 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-09 23:54:21 +00:00
roc+%cs.cmu.edu
35c266025d
Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@151077 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-09 14:20:53 +00:00
bryner%brianryner.com
468d3e2e8d
Eliminate nsIStyleSet as an XPCOM interface, making the implementation internal to layout. Frame constructor ownership moves to the pres shell, and the style set methods that forward to the frame constructor are gone. Rewrote style set sheet add/remove to reduce code size. For more details, see bug 64116. r+sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@150998 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-07 22:30:53 +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
roc+%cs.cmu.edu
d6abe407cd
Bug 30579. Add a skinnable 'scrollcorner' element to fill in the gap when there are two scrollbars. r+sr=bryner,a=asa
...
git-svn-id: svn://10.0.0.236/trunk@149611 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-21 10:45:24 +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
bzbarsky%mit.edu
0b45220a8c
Clarify when ReParentStyleContext should be called and remove more bogus style
...
parentage warnings. Bug 217225, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@149235 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-13 04:31:04 +00:00
bzbarsky%mit.edu
04fa1dd734
Fix crash in DoCleanupFrameReferences. Bug 224091, patch by
...
mats.palmgren@bredband.net (Mats Palmgren), r=bzbarsky, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@148853 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-05 04:40:52 +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
bzbarsky%mit.edu
69dd03fc39
Fix hang bug 218512. We don't want to be putting a frame into a framelist
...
twice, since that gives us a nice loop in the frame tree. r+sr+a=dbaron
git-svn-id: svn://10.0.0.236/trunk@148428 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-27 05:58:23 +00:00
bryner%brianryner.com
eeddf02bde
deCOMtaminate nsIDocument by changing methods to use return value instead of out-params, eliminating unused nsresult return values, moving some members to nsIDocument and inlining the getters/setters. Bug 222134, r=bzbarsky, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@148257 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-22 06:09:48 +00:00
bzbarsky%mit.edu
16cbc0284a
Fix crash when an SVG <foreignobject> suddenly needs a space manager. Bug
...
220165, r=alex@croczilla.com , sr=roc
git-svn-id: svn://10.0.0.236/trunk@148095 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-18 03:19:33 +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
uid502
eed697cb68
Bug 217604. Ensure out-of-flow frames are ordered in content order. Ensure views are maintained in frame/content order.
...
git-svn-id: svn://10.0.0.236/trunk@147976 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-15 00:49:03 +00:00
dbaron%dbaron.org
33601224e0
Use the correct term "float" instead of "floater". b=218654 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@147924 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-13 21:51:02 +00:00
uid502
6b34cca104
Bug 165149. Make children of a scrolled element inherit style directly from the element instead of via the scrolled frames. Add a new view property to indicate that the view is painted on a uniform background and use it to optimize scrolling, so that a scrolled element with a uniform background color can still be scrolled using bitblits. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@147868 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-11 12:00:05 +00:00
dbaron%dbaron.org
37de3855c7
Make URIs in the style system nsIURI pointers instead of strings. b=113173 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@147501 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-01 22:53:56 +00:00
jst%mozilla.jstenback.com
ef67a47aab
Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. r=caillon@aillon.org, sr=peterv@propagandism.org.
...
git-svn-id: svn://10.0.0.236/trunk@147354 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-27 04:18:26 +00:00
uid502
8080dd532b
Bug 217201. Make nsTextControlFrame::InitEditor() happen outside of reflow, to prevent content notification flushes and reentrancy. r+rs=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@147060 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-19 15:20:00 +00:00
bryner%brianryner.com
dbbc84bf94
Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan.
...
git-svn-id: svn://10.0.0.236/trunk@146620 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-07 22:37:27 +00:00
caillon%returnzero.com
a1e93058b8
214844 relatively positioned block w/ overflow:auto should be absolute pos. containing block
...
Patch by Mats Palmgren <mats.palmgren@bredband.net>
r+sr=dbaron@dbaron.org
a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@146037 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-15 04:43:09 +00:00
caillon%returnzero.com
378752c58c
Bug 215842 - JavaScript resets fieldset absolute positioning.
...
Patch by Boris Zbarsky <bzbarsky@mit.edu>
r+sr=dbaron@dbaron.org
a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@146028 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-15 00:04:40 +00:00
bzbarsky%mit.edu
46cae71484
Backing out last checkin, since a= is needed.
...
git-svn-id: svn://10.0.0.236/trunk@145828 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-09 22:19:49 +00:00
bzbarsky%mit.edu
789730182e
Fix bug 214844 -- rel pos blocks with overflow set should be containing blocks
...
for abs pos elements. Patch by mats.palmgren@bredband.net (Mats Palmgren),
r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@145827 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-09 21:41:39 +00:00
rbs%maths.uq.edu.au
e320553e23
Sync the handling of stretchy MathML frames with the new ::-moz notation, b=214989, r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@145578 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-05 02:07:14 +00:00
caillon%returnzero.com
c8612ff038
Bug 38370.
...
Allow color of an HR element to be changed.
Make HR be a block element in quirks mode instead of the hacky inline we were previously using (standards mode already had it as a block).
Patch by Ian Hickson <ian@hixie.ch> with minor modifications by me.
r+sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@145375 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-30 08:13:07 +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
dbaron%dbaron.org
2d08b120f2
Ensure that NS_FRAME_HAS_CHILD_WITH_VIEW is set correctly when something has a view and is inside a float inside the block part of a block-inside-inline split. b=213781 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@145210 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-25 22:04:00 +00:00
mkaply%us.ibm.com
436d959eac
rs=leaf
...
Remove XP_OS2_VACPP from the tree
git-svn-id: svn://10.0.0.236/trunk@145027 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-21 18:53:43 +00:00
dbradley%netscape.com
27c389d7e2
Bug 179089 - crash in selection stuff loading a newsgroup message [@JS_GetPrivate] (Refactors and address release of null pointer). r=caillon, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@144826 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-14 14:28:59 +00:00
bzbarsky%mit.edu
5a36af3d0a
Backing out part of patch for bug 211128, since it regressed all sorts of
...
XBL-ish stuff. r=stuff-is-broken sr=jag for the backout.
git-svn-id: svn://10.0.0.236/trunk@144814 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-14 05:35:09 +00:00
bzbarsky%mit.edu
714fcc154e
Make it possible for overflow:auto/overflow:scroll frames to have
...
::before/::after content. Bug 212145, r+sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@144755 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-11 23:19:12 +00:00
bzbarsky%mit.edu
c8ff7820a4
Make XBL anonymous content get its base URI from the XBL document (the binding
...
URI) instead of from the document of the bound element. This way relative URIs
in a binding are always relative to the binding. Bug 211128, r=caillon, sr=jst
git-svn-id: svn://10.0.0.236/trunk@144753 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-11 23:06:26 +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
timeless%mozdev.org
fab52a77e7
Bug 212346 nsCSSFrameConstructor.cpp:4182: warning: unused variable `class nsIView * listView'
...
r=bz sr=bz
git-svn-id: svn://10.0.0.236/trunk@144725 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-11 20:07:21 +00:00
roc+%cs.cmu.edu
44ae5a148e
Ongoing deCOMtamination. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@144475 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-05 14:36:03 +00:00