1104 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
a87e96e598 Make sure to insert the floating items as children of their parent before
clobbering the float items in the constructor state when a table cell is
floated.  Bug 263846, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@164303 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-24 22:03:49 +00:00
bzbarsky%mit.edu
8ad598b075 DeCOMTaminate some methods on nsIStyledContent. Bug 244258, patch by jpl24
<jlurz24@gmail.com>, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@164274 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-24 17:10:32 +00:00
tor%cs.brown.edu
c10cf6e314 Bug 244917 - implement SVG gradients. Patch by scootermorris@comcast.net.
r=sicking,afri,tor,jwatt.  Shared mozilla code sr=tor,dbaron.


git-svn-id: svn://10.0.0.236/trunk@163782 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-14 23:02:53 +00:00
bzbarsky%mit.edu
73c05f1b81 Switch some callers of EndViewUpdateBatch to VMREFRESH_NO_SYNC from DEFERRED.
Bug 263569, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@163526 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-11 15:34:45 +00:00
roc+%cs.cmu.edu
1df6a398e4 Bug 262760. Do Begin/EndUpdateViewBatch around all reflows and restyling. Also, make the refresh flags in EndUpdateViewBatch mean the same thing as they do in UpdateView. In particular we introduce NS_VMREFRESH_DEFERRED. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@163455 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-09 01:39:21 +00:00
alex%croczilla.com
371ae9555f Use GetGeometricParent() to determine geometric parent of XTF frames - see bug #253225, comment#30. r+sr=bzbarsky. Affects XTF-enabled builds only.
git-svn-id: svn://10.0.0.236/trunk@163419 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-08 14:58:00 +00:00
roc+%cs.cmu.edu
22e0ff6cb8 Bug 251162. Landing experimental implementation of CSS3 columns. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@163416 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-08 12:17:10 +00:00
alex%croczilla.com
4613694ca0 Let presshell track anonymous xtf content to prevent shutdown crashes. Affects XTF-enabled builds only.
git-svn-id: svn://10.0.0.236/trunk@163415 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-08 11:36:14 +00:00
alex%croczilla.com
049fc5de75 Landing of the XTF branch, bug#253225. XTF is the eXtensible Tag
Framework; see mozilla/content/xtf/readme.txt. r=bryner, sr=jst. Code
is not enabled by default (requires --enable-xtf configure option).


git-svn-id: svn://10.0.0.236/trunk@163386 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-07 20:59:53 +00:00
bzbarsky%mit.edu
b96eb6877f Fix crash on reconstructing a frame tree in which fixed pos frames contain
placeholders for other fixed pos frames.  Bug 256108, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@163270 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-06 00:29:14 +00:00
bzbarsky%mit.edu
15618cb256 Fix absolute positioning of tables. Bug 262898, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@163224 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-05 04:20:32 +00:00
bzbarsky%mit.edu
09bf6e10e5 Create a GetGeometricParent() function and make people use it instead of
(incorrectly, usually) rolling their own.  Bug 191151, initial cut of patch by
jkeiser back when, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@163044 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-30 22:39:28 +00:00
bryner%brianryner.com
d80f327086 Unify box and frame trees by moving nsIBox methods onto nsIFrame. XUL-box frames can call the superclass nsBox implementation, all other frames get the nsFrame implementation of the box methods, which acts like nsBoxToBlockAdaptor used to. Bug 258513, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@162876 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-28 18:37:50 +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
bzbarsky%mit.edu
b5b1e1b77a Make sure not to add entries to the pending restyle hashtable while enumerating
it.   Bug 257694 (also fixes bug 256242, bug 258101).  r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@162193 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-13 04:08:14 +00:00
roc+%cs.cmu.edu
25c92b6a90 Bug 254039. deCOMtaminate nsIScrollableFrame. r+sr=roc, patch by Will Levine
git-svn-id: svn://10.0.0.236/trunk@161806 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-06 02:44:43 +00:00
dbaron%dbaron.org
d078282226 Land bug 72747 in pieces: Implement overflow-x and overflow-y. b=72747 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@161772 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-05 00:04:04 +00:00
dbaron%dbaron.org
f9bdcbfb99 Land bug 72747 in pieces: Implement scrolling='yes' (and equivalents) on frames and iframes. b=72747 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@161771 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-04 23:03:04 +00:00
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