roc+%cs.cmu.edu
7f1a3c9c93
Bug 263825. Make paginated floats work, and other fixes. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@171036 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-23 03:35:08 +00:00
bzbarsky%mit.edu
b545c9a067
Add a method to ask a content node whether it may have a frame in some
...
presentation. Bug 225941, r=dbaron, sr=jst
git-svn-id: svn://10.0.0.236/trunk@171033 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-23 03:07:10 +00:00
bryner%brianryner.com
165fa3ff89
Remove nsIXBLBinding (bug 194834). r+sr=bzbarsky.
...
git-svn-id: svn://10.0.0.236/trunk@169873 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-25 22:07:01 +00:00
bzbarsky%mit.edu
ce5f5c101d
Add a presshell member to nsCSSFrameConstructor. Remove prescontext and
...
presshell args from most frame constructor methods; use the state for the
former and the member for the latter. Bug 281957, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@169389 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-18 16:11:53 +00:00
bzbarsky%mit.edu
4136bc41b4
Remove unnecessary prescontext args on some nsLayoutUtils methods. Bug 281767,
...
r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@169352 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-18 06:06:47 +00:00
bzbarsky%mit.edu
2bea98552c
Remove prescontext args for some nsIFrame methods
...
(Append/Insert/Remove/ReplaceFrames) and for some methods in table land. Patch
by Vidar Braut Haarr <bugmail@q1n.org>, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@168894 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-07 01:58:25 +00:00
bryner%brianryner.com
3437ee229a
Remove nsIPresState (bug 279699). r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@168423 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-27 22:52:53 +00:00
roc+%cs.cmu.edu
e046be77a2
Bug 219444. Certain style changes to tables don't work because table-outer frames inherit style from table-inner frames but are above them in the frame tree. Hack ReResolveStyleContext to make sure table-outer frames get the right style changes. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@168280 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-25 02:14:31 +00:00
bzbarsky%mit.edu
b9910f7dd3
Include the part number inside a multipart document in the state key, so that
...
state restoration works correctly on each part. Bug 47350, patch by Hideo
Saito <saito@densan.co.jp>, r=bzbarsky, sr=js
git-svn-id: svn://10.0.0.236/trunk@167788 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-15 17:47:23 +00:00
dbaron%dbaron.org
c28c38ca0e
Remove from primary frame map at the end of frame destruction, in case it got re-added. b=265404 r=bzbarsky sr=brendan a=asa
...
git-svn-id: svn://10.0.0.236/trunk@164230 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-23 02:50:26 +00:00
roc+%cs.cmu.edu
ab88d1e1ac
Bug 259032. DeCOMtaminate nsIFrame::GetNext/PrevInFlow. r+sr=roc, patch by Will Levine
...
git-svn-id: svn://10.0.0.236/trunk@162269 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-14 02:28:03 +00:00
bryner%brianryner.com
ff2bc0b69e
Trying again to land support for content node properties (bug 253888). r=jst, sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@161182 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-24 18:50:29 +00:00
bryner%brianryner.com
2ac3245dec
Backing out 253888 again due to Tp regression plus another problem I noticed (frame properties not getting destroyed on frame destruction)
...
git-svn-id: svn://10.0.0.236/trunk@161116 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-22 07:10:50 +00:00
bryner%brianryner.com
0501b2872a
Second try at landing support for content node properties (bug 253888). r=jst, sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@161115 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-22 04:58:44 +00:00
bryner%brianryner.com
03c6a8279c
Backing out bug 253888 until I can figure out how to fix the crash
...
git-svn-id: svn://10.0.0.236/trunk@161097 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-21 06:27:54 +00:00
bryner%brianryner.com
e49f4fa38e
Refactor the frame property code and use it for supporting properties on dom elements. Bug 253888, r=jst, sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@161096 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-21 05:09:50 +00:00
bryner%brianryner.com
2dbfb983b1
Remove refcounting version of nsIPresShell::GetPresContext. Bug 253889, r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@161072 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-20 20:34:37 +00:00
bryner%brianryner.com
736c955c54
Remove non-inlined version of nsIPresShell::GetDocument(). Bug 253889, r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@160208 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-02 04:52:55 +00:00
bryner%brianryner.com
865734bf2f
Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
...
git-svn-id: svn://10.0.0.236/trunk@160184 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-31 23:15:21 +00:00
bzbarsky%mit.edu
112b38901a
Subtract out the reflow hint from aMinChange when re-resolving out-of-flow
...
kids, in case they're not our descendants and need a reflow. Bug 170644,
r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@155952 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-05 00:34:22 +00:00
gerv%gerv.net
2ac510b678
Bug 236613: change to MPL/LGPL/GPL tri-license.
...
git-svn-id: svn://10.0.0.236/trunk@155068 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 14:30:37 +00:00
bzbarsky%mit.edu
4c0299d092
Don't clobber 'pseudoTag' with random atoms from other style contexts; we need
...
it later on. Bug 231166, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@154721 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-12 22:42:50 +00:00
bryner%brianryner.com
5050533b67
Make GetFrameProperty return NS_IFRAME_MGR_PROP_NOT_THERE when the property is not found (instead of NS_ERROR_FAILURE). Fixes bug 236590. r+sr=dbaron, a=chofmann
...
git-svn-id: svn://10.0.0.236/trunk@154140 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-21 05:22:46 +00:00
bzbarsky%mit.edu
e7ad4f7000
Load background images from style instead of from painting. This makes us
...
start loading the background images when we resolve style on an object that
needs them instead of when we scroll down and see it for the first time. Bug
57607, r=pavlov, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@153725 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-09 03:57:51 +00:00
roc+%cs.cmu.edu
182434aad8
Bustage fix
...
git-svn-id: svn://10.0.0.236/trunk@153621 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-06 14:55:21 +00:00
roc+%cs.cmu.edu
7c28614d74
Bug 235335. Make nsFrameManager a direct member of nsIPresShell. r+sr=bryner
...
git-svn-id: svn://10.0.0.236/trunk@153603 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-06 04:46:11 +00:00
bryner%brianryner.com
d956db112f
Get rid of nsIFrameManager abstract interface to the frame manager. Bug 233972, r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@153111 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-23 21:29:06 +00:00
bzbarsky%mit.edu
38a6e197cd
Make SVG use the normal attribute mapping codepath (via HasAttributeDependence)
...
by pushing the relevant helpers up to nsGenericElement.. Remove referrer code
in nsSVGDocument, since nsDocument handles that. Bug 233370,
r=alex@croczilla.com , sr=jst
git-svn-id: svn://10.0.0.236/trunk@152562 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-09 20:48:20 +00:00
alex.fritze%crocodile-clips.com
937a1cf846
Landing of SVG_20020806_BRANCH, Bug 182533. Refactoring of SVG backend, new GDI+ and Libart rendering
...
backends, text support on Windows (GDI+), rudimentary text support on Linux (libart/freetype2), presentation
attributes, lots of bug fixes (see bug 182533 for dependency list).
Not part of default build; code is #ifdef'ed out.
r=sicking, sr=jst for dom and htmlparser changes
r=bsmedberg, sr=tor for config changes
r=dbaron, sr=bzbarsky for content and layout changes
r=tor, sr=bzbarsky for gfx changes
git-svn-id: svn://10.0.0.236/trunk@152468 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-07 12:39:26 +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
jst%mozilla.jstenback.com
12ed685455
Fixing bug 230840. DeCOMtaminating nsIDocumentObserver, nsIAttribute, nsIContentList, and nsIContentIterator, and doing some other cleanup. r=jonas@sicking.cc, sr=bryner@brianryner.com
...
git-svn-id: svn://10.0.0.236/trunk@151784 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-24 00:46:17 +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
peterv%propagandism.org
94b69cb574
Miscellaneous cleanup. r/sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@151493 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-18 10:45:26 +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
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
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
7ee2b11b9e
Fix some bogus style parentage warnings. Bug 224867, r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@149232 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-13 04:11:38 +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
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
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
darin%meer.net
bc1bb52b19
fixes bug 210125 "need to be able to AsyncWait for closure only" r=dougt sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@147597 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-06 01:46:31 +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
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
jaggernaut%netscape.com
df747d0621
Bug 213602: Switch some users of NS_GetWeakReference over to do_GetWeakReference. r=bzbarsky, sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@145205 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-25 19:06:59 +00:00
dbaron%dbaron.org
00b5e56618
Remove comment made obsolete by previous checkin.
...
git-svn-id: svn://10.0.0.236/trunk@144256 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-29 23:39:54 +00:00