1344 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
52da9e78ec Back out bug 377850 -- it regresses bug 71191, and causes bug 379920.
git-svn-id: svn://10.0.0.236/trunk@226026 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-07 06:51:57 +00:00
bzbarsky%mit.edu
ba5badedcb Change the FrameNeedsReflow API to pass the dirty flags to be added directly to
the method, instead of setting them before calling the method.  That way we can
avoid reflowing the ancestor of a reflow root which is not itself dirty but has
dirty children.  This also makes it harder to set dirty bits inconsistently
with the FrameNeedsReflow call.  Bug 378784, r+sr=dbaron, pending rbs' review
on the mathml parts.


git-svn-id: svn://10.0.0.236/trunk@226007 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-06 19:16:52 +00:00
bzbarsky%mit.edu
3a2aee02f0 Don't apply user stylesheets to native anonymous content. Bug 286895, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@225952 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-05 06:47:09 +00:00
bzbarsky%mit.edu
9b0c5a7646 Bail out of ReconstructDocElementHierarchy early if there is no root frame
(which shouldn't even happen!).  Bug 377850, r=mats, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@225947 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-05 06:12:44 +00:00
joshmoz%gmail.com
0bfd5f5156 Remove nsINativeScrollbar and nsNativeScrollbarFrame. patch by Colin Barrett. b=379319 r=enn sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@225436 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-02 07:46:50 +00:00
bzbarsky%mit.edu
7c49bd8a89 Resolve the right (parentless) style context for a table as a document root,
and fix the assertion when adjusting parent style context frames to not trigger
in non-scrollable documents.  Bug 378693, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@225066 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-26 02:26:25 +00:00
bzbarsky%mit.edu
8d22ae89ff Don't use the same pseudo-element name to mean two different things. Bug
377824, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@224808 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-20 21:27:02 +00:00
bzbarsky%mit.edu
298f4922e3 Improve detection of blocks with first-letter style. Bug 372550, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@224563 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-16 00:42:54 +00:00
bzbarsky%mit.edu
160bb21d7b Recalc quotes and counters before reflow. Bug 377216, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@224562 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-16 00:11:34 +00:00
bzbarsky%mit.edu
03efa866b7 Change the way we determine the style context parent frame to skip css anon
boxes unless we're determining the style context parent for something that is
itself a css anon box (and is not a non-element frame).  Fixes bug 323656
(which is where the patch is), bug 85872, bug 280610.  As far as I can tell,
also fixes bug 317876, bug 372376, bug 374297.  r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@224561 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-15 23:14:27 +00:00
roc+%cs.cmu.edu
817b30368a Bug 376223. Make frame construction for XUL listbox content grab pseudo frames if necessary. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@224493 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-13 16:50:57 +00:00
bzbarsky%mit.edu
7bd0cdb140 Treat <mtable> as special, since the outermost frame it creates is not in fact
a table-related frame.  Bug 374193, r=bernd, sr=rbs


git-svn-id: svn://10.0.0.236/trunk@224353 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-10 16:24:02 +00:00
bzbarsky%mit.edu
116d69628c Rename nsIFrame::GetPresContext to nsIFrame::PresContext. Bug 376042, patch by
Taras Glek <tglek@mozilla.com>, rs=roc.


git-svn-id: svn://10.0.0.236/trunk@222659 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-30 21:11:47 +00:00
sharparrow1%yahoo.com
783659454a Bug 372037: CSS clip property should clip the overflow rect as well as the paint rect; r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@222445 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-27 03:58:17 +00:00
enndeakin%sympatico.ca
7fe266a9bd Bug 374832, lower opacity on drag images, Bug 375038, dragging doesn't work on blocks inside inlines, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@222382 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-26 03:27:53 +00:00
roc+%cs.cmu.edu
aed2475015 Bug 372237. Make DoDeletingFrameSubtree skip overflowOutOfFlow child lists since they contain out-of-flow frames. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@221755 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-11 20:29:20 +00:00
bzbarsky%mit.edu
22cd821e27 Relanding bug 267833. Let's see what Txul does now. Still r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@221651 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-09 23:43:50 +00:00
longsonr%gmail.com
905d1ce64d Bug 371256 - combining SVG a and text elements leads to validation problems. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@221542 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-08 13:50:46 +00:00
bzbarsky%mit.edu
1646da9ee6 Back out bug 267833 to test performance effect.
git-svn-id: svn://10.0.0.236/trunk@221409 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-06 21:12:49 +00:00
mats.palmgren%bredband.net
39daba4d12 Ignore calls to RemoveMappingsForFrameSubtree() after WillDestroyFrameTree() have been called. b=372576 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@221408 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-06 21:07:21 +00:00
bzbarsky%mit.edu
dc7b70aa9c Fire XBL constructors asynchronously after binding attachment, unless we're in
the middle of an update.  In that case, fire them at the end of the update.
Bug 267833, r+sr=sicking, fingers-crossed=me


git-svn-id: svn://10.0.0.236/trunk@221404 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-06 19:36:36 +00:00
bzbarsky%mit.edu
15ce1d5c6f Only reframe a <frameset> frame if adding a child <frame> or <frameset>. Bug
370430, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@221291 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-05 00:11:23 +00:00
mats.palmgren%bredband.net
63f62851fd [DEBUG only] Fix an over-sensitive assertion. b=372475 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@221286 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-04 23:05:01 +00:00
mats.palmgren%bredband.net
cefcc53f4c Ignore calls to RemoveMappingsForFrameSubtree() if the pres shell is being destroyed. b=372576 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@221285 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-04 22:39:39 +00:00
mats.palmgren%bredband.net
5252497917 Add a list for popup frames in the frame constructor state and treat them like other out-of-flows. b=344340 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@221224 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-02 12:03:02 +00:00
bzbarsky%mit.edu
3fa51bacc4 Make first-letter frames use the content parent of the textnode as their
content.  Add some first-letter tests, and a few assertions.  Bug 367650, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@221107 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-28 22:32:00 +00:00
mats.palmgren%bredband.net
7c9b841ac3 [DEBUG only] Don't assert if the child frame is on the correct child overflow list. b=371681 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@221070 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-28 12:27:12 +00:00
sharparrow1%yahoo.com
a6d706aba6 Bug 371864: Background images don't load until scrolled into the viewport. r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@221027 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-27 22:05:16 +00:00
jonas%sicking.cc
fa54a7bcf5 Bug 371083: Second installment in our exiting series 'deCOMtaminate the XBL code'. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@220967 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-27 00:14:01 +00:00
sharparrow1%yahoo.com
bd0f540072 Bug 371536: Stop creating views for positioned elements. r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@220923 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-26 14:00:21 +00:00
sharparrow1%yahoo.com
c18e568063 Bug 371528: Stop creating views for pages. r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@220901 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-25 22:26:47 +00:00
longsonr%gmail.com
15f055b41a Bug 330059 - Text Inside a Elements Does Not Render. r=jwatt,sr=tor
git-svn-id: svn://10.0.0.236/trunk@220726 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-22 12:38:12 +00:00
bzbarsky%mit.edu
ee4ee8ea0b Make blocks whose ancestors are not blocks have the NS_BLOCK_MARGIN_ROOT and
NS_BLOCK_SPACE_MGR bits as necessary.  Bug 354600, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@220533 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-18 23:53:25 +00:00
asqueella%gmail.com
11bad405e3 bug 257868 - remove the nsIPresShell::SetAnonymousContentFor() API, make the frames store strong refs to the anonymous content instead. Decomtaminate nsIAnonymousContentCreator.
r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@220517 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-18 17:34:09 +00:00
martijn.martijn%gmail.com
158f362c3e Bug 336147 – Changing innerHTML for input type=button causes miss-rendering, patch by Ryan Jones, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@220478 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-17 14:14:08 +00:00
jonas%sicking.cc
7b8af22092 Bug 370332: Kill nsIBindingManager and nsIStyleRuleSupplier. r=dbaron for the layout/style parts, r/sr=jst for the rest.
git-svn-id: svn://10.0.0.236/trunk@220435 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-16 23:02:08 +00:00
smontagu%smontagu.org
a2b9c77fed Remove obsolete state bit NS_BLOCK_SHRINK_WRAP. Bug 369243, r=bz, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@220168 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-15 05:07:57 +00:00
jonas%sicking.cc
aedf81612e Bug 369676: Make document stylesheets not affect scrollbars in XUL documents. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@220023 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-13 01:25:02 +00:00
sharparrow1%yahoo.com
dd459d0a71 Bug 177805: Fix the use of units in Gecko. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@219640 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-07 07:46:44 +00:00
bzbarsky%mit.edu
9de03e10b2 Remove dead code. Followup for bug 243159, rs=roc
git-svn-id: svn://10.0.0.236/trunk@219567 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-06 06:23:18 +00:00
bzbarsky%mit.edu
c8d8cb0476 Only do first-line stuff when inserting directly into the block in question.
Bug 367489 followup, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@219540 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-06 00:18:08 +00:00
tor%cs.brown.edu
14d632d01c Bug 367796 - <svg:switch> should be SVGTransformable. r=scootermorris, sr=roc
git-svn-id: svn://10.0.0.236/trunk@219502 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-05 16:26:23 +00:00
bzbarsky%mit.edu
d6f518ac33 Pass the right frame to the first-line stuff. Bug 367489, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@219484 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-05 03:32:25 +00:00
dbaron%dbaron.org
1e94da33b0 Allow display:inline-block to be used on :before and :after. b=368622 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@219398 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-02 06:13:37 +00:00
cvshook%sicking.cc
ccd1d6884d Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128
git-svn-id: svn://10.0.0.236/trunk@219151 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 00:06:41 +00:00
dbaron%dbaron.org
5615880f12 Make inline-blocks support 'overflow', and add some useful methods to nsStyleDisplay. b=367247 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@219048 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-27 18:44:24 +00:00
dbaron%dbaron.org
3052400d5e Implement CSS display types inline-block and inline-table. b=9458, 18217 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@219045 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-27 18:36:57 +00:00
dbaron%dbaron.org
70e19ffc30 Make SVG foreignObject frames reflow roots, instead of their child, so that marking the child dirty still keeps the change constrained to the foreignObject. b=368101 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@218966 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 06:58:31 +00:00
dbaron%dbaron.org
07b53e788d Reflow reflow roots and the child of SVG foreignObject with an unconstrained height to avoid triggering page/column breaking. b=366956 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@218880 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 02:01:07 +00:00
dbaron%dbaron.org
99df522954 Give inline-blocks NS_BLOCK_SPACE_MGR and NS_BLOCK_MARGIN_ROOT. b=367504 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@218784 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 03:53:46 +00:00