1220 Commits

Author SHA1 Message Date
mats.palmgren%bredband.net
b9fa4efa1b Look for ::first-letter frames in relative positioned inlines too. b=264799 r=bzbarsky sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@165817 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-26 20:39:30 +00:00
neil%parkwaycc.co.uk
df2668e776 Don't use QueryInterface to get a scrollable view from a view b=258521 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@165693 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-24 00:19:21 +00:00
tor%cs.brown.edu
d0fcc0b497 Bug 237020 - use/symbol implementation. r=jwatt, shared moz files sr=roc.
git-svn-id: svn://10.0.0.236/trunk@165632 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-23 13:51:57 +00:00
bryner%brianryner.com
825da8256d Full fix for xtf Tp regression -- avoid QI'ing non-XTF elements in CreateAnonymousFrames. Bug 270136, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@165400 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-16 18:07:13 +00:00
bryner%brianryner.com
87b5cad1f0 Testing whether this QI is responsible for the Tp increase on btek.
git-svn-id: svn://10.0.0.236/trunk@165396 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-16 08:28:26 +00:00
bryner%brianryner.com
b571a18dfa Attempt to fix Tp regression by only doing checking for XTF if the namespace is not one that we support internally.
git-svn-id: svn://10.0.0.236/trunk@165395 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-16 07:27:39 +00:00
bzbarsky%mit.edu
14b137de99 Remove effectively dead code in GetFloatContainingBlock(). Bug 267036,
r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@165384 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-16 02:20:37 +00:00
bmlk%gmx.de
d17e10572f during pseudo frame creation pseudo colgroup frames should not taken into account when analyzing the pseudostackframe depth, bug 266015 r=me sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@165055 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-06 07:07:43 +00:00
bzbarsky%mit.edu
69eb75b943 Fix parent frame determination for tables so that positioned tables end up with
the placeholder in the right place.  Bug 266850, r=mats.palmgren, sr=roc


git-svn-id: svn://10.0.0.236/trunk@164930 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-04 18:53:05 +00:00
bzbarsky%mit.edu
f53f98f7f3 Create an api for easily converting between the coordinate systems of two
frames or two views.  Use this to fix the auto-positioning of abs pos boxes to
work no matter how their containing block and the block their placeholder lives
in are related, and convert various other callers to the new API.  Bug 266968,
r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@164857 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-03 16:16:57 +00:00
roc+%cs.cmu.edu
8fb537acb7 Bug 266890. Remove nsListboxScrollPortFrame by moving its functionality into nsListBoxFrame. Part of an ongoing effort to remove nsScrollboxFrame and its subclasses. r+sr=bryner
git-svn-id: svn://10.0.0.236/trunk@164830 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-03 02:52:16 +00:00
bzbarsky%mit.edu
4ece7e1998 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


git-svn-id: svn://10.0.0.236/trunk@164677 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-30 21:43:49 +00:00
bzbarsky%mit.edu
f8122fc136 Remove unneeded arg from SetFrameIsSpecial() and fix one of the callers to not
trigger an assert.  Bug 266321, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@164673 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-30 18:27:40 +00:00
bzbarsky%mit.edu
874f1be4cf 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


git-svn-id: svn://10.0.0.236/trunk@164482 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-27 01:34:22 +00:00
bzbarsky%mit.edu
4faa08a83c Make sure to clear the event queue before processing restyles, in case that
tries to post reflow events. Bug 266171, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@164465 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-26 21:42:37 +00:00
bmlk%gmx.de
b90139c45c prevent double caption frame creation instead of later caption frame removal bug 265181 r/sr=bzabrsky
git-svn-id: svn://10.0.0.236/trunk@164356 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-25 12:31:02 +00:00
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