Commit Graph

1109 Commits

Author SHA1 Message Date
bzbarsky@mit.edu
37964a1cde Make the frame constructor state and save state automatically handle inserting
out of flows in the right place in the fixed/absolute/float containing blocks
so that it can't be screwed up by callers.  Bug 264914, r+sr=roc
2004-10-30 21:43:49 +00:00
bzbarsky@mit.edu
90303d5264 Remove unneeded arg from SetFrameIsSpecial() and fix one of the callers to not
trigger an assert.  Bug 266321, r+sr=roc
2004-10-30 18:27:40 +00:00
bzbarsky@mit.edu
0ee295838b Factor out the code to insert a frame into the right childlist (used for
handling out-of-flows) into a function on the frame constructor state.  Enforce
some invariants via !important rules in html.css instead of hacking them into
the code.  Bug 263406, r+sr=roc
2004-10-27 01:34:22 +00:00
bzbarsky@mit.edu
ff1e1d8b6d Make sure to clear the event queue before processing restyles, in case that
tries to post reflow events. Bug 266171, r+sr=dbaron
2004-10-26 21:42:37 +00:00
bmlk@gmx.de
49f189869c prevent double caption frame creation instead of later caption frame removal bug 265181 r/sr=bzabrsky 2004-10-25 12:31:02 +00:00
bzbarsky@mit.edu
fd251b55c5 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
2004-10-24 22:03:49 +00:00
bzbarsky@mit.edu
52ad75a2a1 DeCOMTaminate some methods on nsIStyledContent. Bug 244258, patch by jpl24
<jlurz24@gmail.com>, r+sr=bzbarsky
2004-10-24 17:10:32 +00:00
tor@cs.brown.edu
2afdbb439a Bug 244917 - implement SVG gradients. Patch by scootermorris@comcast.net.
r=sicking,afri,tor,jwatt.  Shared mozilla code sr=tor,dbaron.
2004-10-14 23:02:53 +00:00
bzbarsky@mit.edu
073c6f782a Switch some callers of EndViewUpdateBatch to VMREFRESH_NO_SYNC from DEFERRED.
Bug 263569, r+sr=roc
2004-10-11 15:34:45 +00:00
roc+@cs.cmu.edu
6fe6fe7e87 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 2004-10-09 01:39:21 +00:00
alex@croczilla.com
356e8580eb Use GetGeometricParent() to determine geometric parent of XTF frames - see bug #253225, comment#30. r+sr=bzbarsky. Affects XTF-enabled builds only. 2004-10-08 14:58:00 +00:00
roc+@cs.cmu.edu
3dd1cd4644 Bug 251162. Landing experimental implementation of CSS3 columns. r+sr=dbaron 2004-10-08 12:17:10 +00:00
alex@croczilla.com
970433a74a Let presshell track anonymous xtf content to prevent shutdown crashes. Affects XTF-enabled builds only. 2004-10-08 11:36:14 +00:00
alex@croczilla.com
2d26d06b7c 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).
2004-10-07 20:59:53 +00:00
bzbarsky@mit.edu
467776d317 Fix crash on reconstructing a frame tree in which fixed pos frames contain
placeholders for other fixed pos frames.  Bug 256108, r+sr=dbaron
2004-10-06 00:29:14 +00:00
bzbarsky@mit.edu
a5e08fa0c9 Fix absolute positioning of tables. Bug 262898, r+sr=roc 2004-10-05 04:20:32 +00:00
bzbarsky@mit.edu
2e5f48c213 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
2004-09-30 22:39:28 +00:00
bryner@brianryner.com
f447d12b9e 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. 2004-09-28 18:37:50 +00:00
roc+@cs.cmu.edu
f6d4272f10 Bug 259032. DeCOMtaminate nsIFrame::GetNext/PrevInFlow. r+sr=roc, patch by Will Levine 2004-09-14 02:28:03 +00:00
bzbarsky@mit.edu
72d6aa2d19 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
2004-09-13 04:08:14 +00:00
roc+@cs.cmu.edu
4b8c28dfbf Bug 254039. deCOMtaminate nsIScrollableFrame. r+sr=roc, patch by Will Levine 2004-09-06 02:44:43 +00:00
dbaron@dbaron.org
9921526bf4 Land bug 72747 in pieces: Implement overflow-x and overflow-y. b=72747 r+sr=roc 2004-09-05 00:04:04 +00:00
dbaron@dbaron.org
5cbd3fe51f Land bug 72747 in pieces: Implement scrolling='yes' (and equivalents) on frames and iframes. b=72747 r+sr=roc 2004-09-04 23:03:04 +00:00
dbaron@dbaron.org
d24b2e213e Land bug 72747 in pieces: Simplify the mechanism used to prevent framesets from having scrollbars. b=72747 r+sr=roc 2004-09-04 19:51:21 +00:00
dbaron@dbaron.org
fd73f4f5e2 Back out previous round of bug 72747 changes due to Tp regression. 2004-09-04 08:34:55 +00:00
dbaron@dbaron.org
eae89236f3 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 2004-09-04 06:53:36 +00:00
dbaron@dbaron.org
6e5b15af15 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 2004-09-04 00:01:12 +00:00
dbaron@dbaron.org
bd84afd01e Land bug 72747 in pieces: make users of nsIScrollable use nsIScrollable::Scrollbar_* instead of NS_STYLE_OVERFLOW_*. b=72747 r+sr=roc 2004-09-03 21:58:39 +00:00
jst@mozilla.jstenback.com
585c5f1f9f 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 2004-09-03 05:00:40 +00:00
dbaron@dbaron.org
51cf3a7568 Land bug 72747 in pieces: use new functions for common overflow tests. b=72747 r+sr=roc 2004-09-02 23:37:02 +00:00
bryner@brianryner.com
314059c81d 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. 2004-09-02 03:08:51 +00:00
neil@parkwaycc.co.uk
95390bbaae Bug 257276 ConstructDocElementFrame and ConstructFrameInternal need to update their display style cache after reresolving style for XBL r+sr=dbaron 2004-08-29 09:49:31 +00:00
dbaron@dbaron.org
2cdc552cce Back out the rest of bug 72747 due to Tp regression. 2004-08-27 01:26:55 +00:00
dbaron@dbaron.org
0ee0dd0b76 Backout the CSS parts of bug 72747 to see if that fixes the Tp regression. 2004-08-26 22:35:38 +00:00
dbaron@dbaron.org
f2ad5967af 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 2004-08-26 17:11:20 +00:00
dbaron@dbaron.org
aa531dcce5 Clean up excessive copy-and-paste of scrollframe building code in ConstructXULFrame. b=256910 r+sr=roc 2004-08-26 08:34:40 +00:00
roc+@cs.cmu.edu
14d7c872ee 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 2004-08-26 00:07:56 +00:00
dbaron@dbaron.org
20ae4c1a6f Convert tabs to spaces. 2004-08-25 22:06:32 +00:00
bryner@brianryner.com
0a85106bba Trying again to land support for content node properties (bug 253888). r=jst, sr=dbaron. 2004-08-24 18:50:29 +00:00
tor@cs.brown.edu
61b7b0a744 Bug 216563 - implement <svg:switch>.
Patch by scootermorris@comcast.net, r=afri, sr=dbaron
2004-08-23 21:10:39 +00:00
bryner@brianryner.com
8e70e22f41 Backing out 253888 again due to Tp regression plus another problem I noticed (frame properties not getting destroyed on frame destruction) 2004-08-22 07:10:50 +00:00
bryner@brianryner.com
e894651189 Second try at landing support for content node properties (bug 253888). r=jst, sr=dbaron. 2004-08-22 04:58:44 +00:00
bryner@brianryner.com
07ff6116c8 Backing out bug 253888 until I can figure out how to fix the crash 2004-08-21 06:27:54 +00:00
bryner@brianryner.com
d485fa5edc Refactor the frame property code and use it for supporting properties on dom elements. Bug 253888, r=jst, sr=dbaron. 2004-08-21 05:09:50 +00:00
bryner@brianryner.com
242c51275c Remove refcounting version of nsIPresShell::GetPresContext. Bug 253889, r+sr=roc. 2004-08-20 20:34:37 +00:00
vladimir@pobox.com
33260ec578 Initial landing of cairo-related stuff, nothing built by default, all code is in ifdefs. r=bryner,a=brendan 2004-08-14 01:01:16 +00:00
peterv@propagandism.org
e4f93c8793 Backout part of the fix for bug 27382 to try to undo Tp regression. 2004-08-10 16:16:58 +00:00
peterv@propagandism.org
81ed902e4f Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null). r/sr=jst. 2004-08-10 10:22:36 +00:00
bzbarsky@mit.edu
d5537722a8 Make sure to not call ProcessRestyledFrames if we have a non-reframe hint and
no frame.  Followup to bug 230170.
2004-08-10 04:44:10 +00:00
bzbarsky@mit.edu
621a4651e8 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
2004-08-10 03:24:41 +00:00