1136 Commits

Author SHA1 Message Date
dbaron%dbaron.org
371342cda8 Land bug 72747 in pieces: Simplify the mechanism used to prevent framesets from having scrollbars. b=72747 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@161766 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-04 19:51:21 +00:00
dbaron%dbaron.org
e53ac83c0a Back out previous round of bug 72747 changes due to Tp regression.
git-svn-id: svn://10.0.0.236/trunk@161749 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-04 08:34:55 +00:00
dbaron%dbaron.org
b8499fbfc0 Land bug 72747 in pieces: Simplify the mechanisms used to prevent framesets from having scrollbars and used to implement the scrolling attribute on frames and iframes. Implement scrolling='yes'. b=72747 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@161744 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-04 06:53:36 +00:00
dbaron%dbaron.org
91c4a5d884 Land bug 72747 in pieces: Clean up PropagateScrollToViewport and ensure it doesn't set a viewport override of NS_STYLE_OVERFLOW_CLIP. b=72747 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@161739 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-04 00:01:12 +00:00
dbaron%dbaron.org
f8361bf5d6 Land bug 72747 in pieces: make users of nsIScrollable use nsIScrollable::Scrollbar_* instead of NS_STYLE_OVERFLOW_*. b=72747 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@161727 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-03 21:58:39 +00:00
jst%mozilla.jstenback.com
5fd9a64c91 Fixing bug 257690. Make sure to mark the content created for generated content as anonymous content to get the content nodes to do their proper cleanup on document teardown. r+sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@161690 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-03 05:00:40 +00:00
dbaron%dbaron.org
2ad99ee1c7 Land bug 72747 in pieces: use new functions for common overflow tests. b=72747 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@161683 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-02 23:37:02 +00:00
bryner%brianryner.com
ae9e02402a deCOMify nsIPresShell::GetRootFrame. Change callers inside of gklayout to use FrameManager()->GetRootFrame() instead so that the call can be inlined. Bug 253889, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@161637 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-02 03:08:51 +00:00
neil%parkwaycc.co.uk
5dd3c0b442 Bug 257276 ConstructDocElementFrame and ConstructFrameInternal need to update their display style cache after reresolving style for XBL r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@161448 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-29 09:49:31 +00:00
dbaron%dbaron.org
dcf4bae71a Back out the rest of bug 72747 due to Tp regression.
git-svn-id: svn://10.0.0.236/trunk@161373 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-27 01:26:55 +00:00
dbaron%dbaron.org
565357f6d2 Backout the CSS parts of bug 72747 to see if that fixes the Tp regression.
git-svn-id: svn://10.0.0.236/trunk@161357 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-26 22:35:38 +00:00
dbaron%dbaron.org
ed6372cf2f Implement 'overflow-x' and 'overflow-y' CSS properties, long implemented by IE for Windows and proposed for CSS3. Implement scrolling='yes' and equivalents on frame and iframe. Various pieces of related cleanup (see comment 22 in bug). b=72747 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@161333 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-26 17:11:20 +00:00
dbaron%dbaron.org
192766aabb Clean up excessive copy-and-paste of scrollframe building code in ConstructXULFrame. b=256910 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@161309 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-26 08:34:40 +00:00
roc+%cs.cmu.edu
d82b9d3db0 Bug 133165. Draw the outline outside the frame's normal overflow area. r+sr=dbaron. Also, correct some trivial misuses of nsChangeHint, r+sr=mozbot
git-svn-id: svn://10.0.0.236/trunk@161292 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-26 00:07:56 +00:00
dbaron%dbaron.org
d0c382cf35 Convert tabs to spaces.
git-svn-id: svn://10.0.0.236/trunk@161276 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-25 22:06:32 +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
tor%cs.brown.edu
da01ea4deb Bug 216563 - implement <svg:switch>.
Patch by scootermorris@comcast.net, r=afri, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@161152 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-23 21:10:39 +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
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