1326 Commits

Author SHA1 Message Date
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
bzbarsky%mit.edu
c9bbb1f3ee Don't calculate stuff with dirty lists. Bug 367243, r=mats, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@218691 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-20 01:18:57 +00:00
roc+%cs.cmu.edu
633e4df4a0 Bug 363813. When inserting frames into a list of out-of-flow frames, finding the correct position by comparing positions in the content tree doesn't always work, in particular when the frames are for anonymous content. So compare the positions of placeholders in the frame tree, which should always work (if we're careful). r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@218557 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 22:48:24 +00:00
roc+%cs.cmu.edu
ae08389d4d Bug 363813. Ensure that floating first-letter frames get inserted in the right place in the list of new floated items. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@218543 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 21:20:33 +00:00
bzbarsky%mit.edu
dda20a2b0f ConstructDocElementFrame can return null if the XBL hasn't loaded yet. Handle
that XBL loading later by changing how XBL triggers the frame construction and
making it possible to recreate the doc element hierarchy even if there is no
doc element frame.  Bug 366207, r=sicking, sr=roc


git-svn-id: svn://10.0.0.236/trunk@218268 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-13 03:32:31 +00:00
bmlk%gmx.de
3185892a10 remove TableProcessChild, this creates a single codepath trough ProcessChildren for frame construction bug 243159 2. attempt r=rbs sr=bz
git-svn-id: svn://10.0.0.236/trunk@217677 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-03 07:18:54 +00:00
bmlk%gmx.de
d73e2e993c backout of bug 243159, rtest is necessary before checkin
git-svn-id: svn://10.0.0.236/trunk@217538 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-29 11:27:31 +00:00
bmlk%gmx.de
627a20a258 remove TableProcessChild, this creates a single codepath trough ProcessChildren for frame construction bug 243159 r=rbs sr=bz
git-svn-id: svn://10.0.0.236/trunk@217459 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-27 14:00:12 +00:00
timeless%mozdev.org
c778d21502 Bug 355300 There should be only one nsGkAtoms creature
r=dbaron


git-svn-id: svn://10.0.0.236/trunk@217425 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-26 17:47:52 +00:00
mats.palmgren%bredband.net
14e7266121 Rename IsSplittable() to GetSplittableType(). b=349973 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@217227 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-20 03:52:34 +00:00
dbaron%dbaron.org
1ca9f3f372 Bug 300030: Move intrinsic width computation out of nsIFrame::Reflow and into its own methods on nsIFrame. Replace reflow reasons, types, and commands with dirty bits/notifications. Thanks to bzbarsky for almost all of the HTML form controls (mozilla/layout/forms) changes, and many others for help testing and patching. For detailed commit logs, see REFLOW_YYYYMMDD_BRANCH, where YYYYMMDD is one of 20061031, 20060830, 20060603, 20060302, 20060119, 20051011, 20050804, 20050429, 20050315, 20050111, and 20041213.
git-svn-id: svn://10.0.0.236/trunk@216738 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-08 05:38:33 +00:00
mats.palmgren%bredband.net
b1edb47875 Fix a Print Preview crash. b=362708 r=bernd sr=roc
git-svn-id: svn://10.0.0.236/trunk@216733 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-08 03:44:11 +00:00
bzbarsky%mit.edu
e1eaaf62ed Make ReconstructDocElementHierarchy work correctly even if we first blew away a
pseudo which had the root as its content.  Bug 343293, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@216439 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-04 20:35:55 +00:00
cvshook%sicking.cc
a326e22147 Bug 328468: Back out bug 323098 to fix mutations of xbl content. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@216118 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-29 23:17:53 +00:00
bzbarsky%mit.edu
ee561228eb Back out bug 354600 to fix regressions.
git-svn-id: svn://10.0.0.236/trunk@215446 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-19 20:23:56 +00:00
bzbarsky%mit.edu
77b17ef48c Make block frames that are not kids of blocks automatically have space managers
(and margin roots, except in the columns case) so we don't have to play
whack-a-framestate-flag.  Bug 354600, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@215356 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 17:51:53 +00:00
bzbarsky%mit.edu
97ddfc98d3 Make sure that first-lines with descendant views will be flagged appropriately.
Bug 291078, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@215228 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-13 21:46:12 +00:00
bzbarsky%mit.edu
0f9db8680c When doing ContentRemoved, IndexOf() will always return -1. So don't use it.
Bug 360524, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@215223 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-13 21:27:44 +00:00
bzbarsky%mit.edu
0968008d00 Walk out of all pseudos when doing a containing block reframe. Bug 336718,
r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@214751 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-06 01:36:25 +00:00