roc+%cs.cmu.edu
92e59ef827
Backing out 233441.
...
git-svn-id: svn://10.0.0.236/trunk@156464 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-17 16:29:13 +00:00
bzbarsky%mit.edu
cd937a6aef
Make sure to use the right parent style context (null) when reresolving style
...
for a root node with an XBL binding that includes scoped stylesheets. Bug
243019, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@156426 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-15 05:11:53 +00:00
jst%mozilla.jstenback.com
b91a41077c
Fixing bug 242734. deCOMtaminate nsITextContent. r+sr=bryner@brianryner.com
...
git-svn-id: svn://10.0.0.236/trunk@156106 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-07 20:55:17 +00:00
bzbarsky%mit.edu
0602ebe56a
Make table cell frame construction handle errors from children without
...
crashing. Bug 237760, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@156101 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-07 19:45:41 +00:00
roc+%cs.cmu.edu
1eea5c536c
Bug 233441. Make nsViewManager always have a root view, you can't change it. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@156019 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-06 03:17:14 +00:00
roc+%cs.cmu.edu
a5495595a6
Bug 240276. Trim fat from nsGfxScrollFrame, move functionality into nsGfxScrollFrameInner so that when we fork nsGfxScrollFrame, it will be shared
...
git-svn-id: svn://10.0.0.236/trunk@155966 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-05 02:41:19 +00:00
bryner%brianryner.com
7247372aa3
deCOMtaminate nsPIDOMWindow (bug 242111). r+sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@155867 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-03 21:48:36 +00:00
jst%mozilla.jstenback.com
74089032ff
Fixing bug 240543. Hiding some nsIPref* API bloatyness in nsContentUtils. r=caillon@aillon.org, sr=peterv@propagandism.org
...
git-svn-id: svn://10.0.0.236/trunk@155712 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-29 23:34:19 +00:00
neil%parkwaycc.co.uk
cd18ad3408
Bug 241151 nsSpringFrame was a useless subclass of nsLeafBoxFrame r/sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@155460 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-24 21:27:11 +00:00
roc+%cs.cmu.edu
35624cc5bd
Bug 234851. Minor performance optimization to make sure we only try overflow propagation for HTML BODY elements, not BODY elements from any XML namespace. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@155449 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-24 17:02:34 +00:00
bzbarsky%mit.edu
c7e51a42fa
When we push a pseudo cell frame, the block inside it needs to become the float
...
containing block. Otherwise, floats inside this cellframe get very confused.
Bug 233094 and various dependencies, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@155446 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-24 16:00:46 +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
dbaron%dbaron.org
99bbf15d49
Forgot to initialize mQuotesDirty in constructor. b=24861 rs=tor
...
git-svn-id: svn://10.0.0.236/trunk@154982 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-16 19:06:51 +00:00
roc+%cs.cmu.edu
a69c586b63
Bug 234851. Propagate any overflow style from HTML or BODY elements to the viewport, and make it work dynamically. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@154761 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-13 02:56:03 +00:00
sicking%bigfoot.com
e4632ed495
Bug 237566: Remove nsIContent::ReplaceChildAt and supportive codepaths.
...
r=bz sr=jst
git-svn-id: svn://10.0.0.236/trunk@154723 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-12 22:48:33 +00:00
dbaron%dbaron.org
950b1a4459
Implement 'quotes' property correctly by tracking quote nesting depth using a linked list. Patch by Esben Mose Hansen <esben@oek.dk>, Ulrich Drepper <drepper@redhat.com>, and me. b=24861
...
git-svn-id: svn://10.0.0.236/trunk@154706 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-12 21:53:22 +00:00
dbaron%dbaron.org
bb012ccb38
Fix crashes by making CreateContinuingFrame able to deal with a frame that already has a next-in-flow. b=140948 Patch by Mats Palmgren <mats.palmgren@bredband.net>. r+sr=dbaron a=chofmann
...
git-svn-id: svn://10.0.0.236/trunk@154448 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-02 00:09:57 +00:00
bzbarsky%mit.edu
4681cee324
Fix bug 236921. This makes the root node's style context have no parent, makes
...
computed style calculations properly parent the computed context, and fixes a
but with "border-color: inherit" on the root. r=caillon, sr=dbaron, a=asa
git-svn-id: svn://10.0.0.236/trunk@154362 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-29 16:00:38 +00:00
roc+%cs.cmu.edu
44185c6657
Bug 235264. Clean up invalidation to go through a single nsIFrame::Invalidate function and take account of 'outline' where necessary. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@153808 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-10 03:09:05 +00:00
alex.fritze%crocodile-clips.com
4c772c8887
Remove unused includes. SVG only - not part of default build.
...
git-svn-id: svn://10.0.0.236/trunk@153744 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-09 09:53:40 +00:00
bzbarsky%mit.edu
baf58dcfe0
Make sure to fire XBL constructors on bindings attached to display:none nodes.
...
Bug 188496, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@153656 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-07 20:33:56 +00:00
bryner%brianryner.com
4b70febae6
inline IsPaginated, SetPaginatedScrolling, and GetPaginatedScrolling. Bug 229371, r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@153488 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-03 18:24:20 +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
dbaron%dbaron.org
e5ad15e520
Rename {nsIDocument,nsIDocumentObserver,nsIFrame}::ContentChanged to CharacterDataChanged, since that's the only thing it's used for. Replace its nsISupports* parameter with a PRBool, since we don't need to allocate an object to pass a boolean parameter. Remove some (but probably not all) unneeded implementations on frames whose content is never a text node. b=234960 r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@153040 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-20 21:38:31 +00:00
bzbarsky%mit.edu
21de022644
Make fieldset splitting work so fieldsets taller than a page print. Bug
...
234015, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@152973 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 22:00:52 +00:00
dbaron%dbaron.org
6dd1e040bf
Replaced elements should not support generated content. b=169334 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@152945 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 18:04:15 +00:00
bzbarsky%mit.edu
c509f2dd71
Make sure to retarget events when they leave native anonymous content. Also
...
make sure that native anonymous content is marked so (this way clicking on a
url()-created image in :before won't have an <img> node as a target). Bug
233286, r+sr=bryner, a=dveditz
git-svn-id: svn://10.0.0.236/trunk@152789 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-15 04:45:18 +00:00
dbaron%dbaron.org
1b07c84897
Make sure proper computed values for root element display fixups end up in the style data so that other code looking at the style data doesn't break. b=233480 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@152542 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-09 06:56:24 +00:00
dbaron%dbaron.org
1f7a84c373
Clean up nsStyleContext::GetUniqueStyleData. b=233480 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@152541 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-09 06:55:14 +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
bmlk%gmx.de
f11f93b94a
col frames should not have child frames. bug 230138 r=dbaron sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@152407 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-06 05:27:57 +00:00
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