1206 Commits

Author SHA1 Message Date
bryner%brianryner.com
b17b3249f7 Consolidate PresContext classes into a single nsIPresContext implementation, and finish deCOMtaminating it. Bug 253470, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@160067 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-29 19:41:39 +00:00
roc+%cs.cmu.edu
76113ff262 Bug 240276. Make <scrollbox> be implemented as a regular scrollframe rathern than a scrollboxframe. This will help us remove scrollboxframe. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@159946 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-28 03:27:02 +00:00
roc+%cs.cmu.edu
773c3fc74d Bug 251032. Make nsComboBoxControlFrames have their own space manager, because they don't care about floats in their parent. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@159420 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-18 12:16:15 +00:00
roc+%cs.cmu.edu
c820f47543 Bug 251501. Refactor handling where frames get inserted on content insertion. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@159417 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-18 12:02:53 +00:00
dbaron%dbaron.org
9c58fc5ccf Move root element fixups to nsStyleContext so they happen before CalcDifference calls in style reresolution and we reframe less. b=245327 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@159399 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-17 18:21:41 +00:00
dbaron%dbaron.org
27b14921d7 Load generated content images from the style system rather than the frame constructor. b=249809 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@159201 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-14 22:19:22 +00:00
alex%croczilla.com
dedf4d2c31 Bug#245408: 'position' shouldn't apply to SVG elements other than outermost <svg/> element. SVG only - not part of default builds. r/sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@158752 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-05 06:45:51 +00:00
bmlk%gmx.de
081d8667b3 fix a crash in table pseudo frame handling, where colgroups need a special handling as they hold only columns and and can not be parents of other frames , bug 239294 r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@158716 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-03 09:42:51 +00:00
peterv%propagandism.org
0a98e68e54 Fix for bug 236408 (deCOMtaminate nsINodeInfoManager). r=caillon, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@158468 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-25 12:26:02 +00:00
tor%cs.brown.edu
bc6db8e5fc Bug 246857 - implement <svg:defs>. r=afri. Not in default build.
git-svn-id: svn://10.0.0.236/trunk@158374 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-23 18:14:04 +00:00
roc+%cs.cmu.edu
897c2495e8 Bug 240276. Fork nsGfxScrollFrame into nsHTMLScrollFrame and nsXULScrollFrame. No behaviour is changed yet. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@158083 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-18 02:08:19 +00:00
dbaron%dbaron.org
b3b0bcf362 Make WipeContainingBlock walk up further when the containing block is the block part of an inline that contains a block. b=244454 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@158041 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-17 18:51:17 +00:00
roc+%cs.cmu.edu
0b0fa89131 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@157992 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-17 00:13:25 +00:00
bzbarsky%mit.edu
291ccad0c4 Check that the generated content URL is non-null (which can happen when it's an
invalid URI).  Bug 244490, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@157555 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-08 01:16:25 +00:00
bryner%brianryner.com
bdc8de8a39 fix typo in bug number
git-svn-id: svn://10.0.0.236/trunk@156972 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-26 18:32:26 +00:00
neil%parkwaycc.co.uk
d17dbf1869 Bug 240542 Fix crash when inserting a listitem whose parent isn't a listbox r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@156687 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-21 08:39:39 +00:00
roc+%cs.cmu.edu
5bdc8bc3af Fix bustage, accidental checkin of work in progress :-(
git-svn-id: svn://10.0.0.236/trunk@156466 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-17 17:16:17 +00:00
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