1216 Commits

Author SHA1 Message Date
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
vladimir%pobox.com
8c5c405bac Initial landing of cairo-related stuff, nothing built by default, all code is in ifdefs. r=bryner,a=brendan
git-svn-id: svn://10.0.0.236/trunk@160752 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-14 01:01:16 +00:00
peterv%propagandism.org
0e7c4437e6 Backout part of the fix for bug 27382 to try to undo Tp regression.
git-svn-id: svn://10.0.0.236/trunk@160611 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-10 16:16:58 +00:00
peterv%propagandism.org
ca3bbc8275 Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null). r/sr=jst.
git-svn-id: svn://10.0.0.236/trunk@160598 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-10 10:22:36 +00:00
bzbarsky%mit.edu
43f1e88b71 Make sure to not call ProcessRestyledFrames if we have a non-reframe hint and
no frame.  Followup to bug 230170.


git-svn-id: svn://10.0.0.236/trunk@160588 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-10 04:44:10 +00:00
bzbarsky%mit.edu
bc3dc7ebe0 Do style reresolves and restyles due to attribute changes asynchronously so
that pages that modify two or more style properties of the same object in a row
work faster.  Bug 230170, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@160587 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-10 03:24:41 +00:00
dbaron%dbaron.org
dda1e6cda9 Fix names of constants to correspond to the new definitions of the values of the 'overflow' property. b=69355 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@160586 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-10 01:32:10 +00:00
alex%croczilla.com
89993ef05b Bug #252637: Implement inner <svg> elements. r=tor, sr=dbaron for nsCSSFrameConstructor changes. SVG only - not part of default builds.
git-svn-id: svn://10.0.0.236/trunk@160394 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-05 09:01:13 +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
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