1308 Commits

Author SHA1 Message Date
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
bzbarsky%mit.edu
10ec1cd09d Reget our parent after blowing away letter frames. Bug 318592, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@214692 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-04 01:59:14 +00:00
bmlk%gmx.de
ab0409d0b8 make sure that only captions go as a direct child of the outer table frame all other have to be a child of the inner table frame. bug 341858 patch by mats + my minor fixes found during sr r=me sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@214294 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-28 09:43:06 +00:00
bzbarsky%mit.edu
e604e45e4e Don't allow positioning or floating <mtable>. Bug 355993, r=bernd, sr=rbs
git-svn-id: svn://10.0.0.236/trunk@213426 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-10 14:44:34 +00:00
bzbarsky%mit.edu
704039928d Slightly improve handling of positioned kids of MathML. Bug 322625, r=rbs, sr=roc
git-svn-id: svn://10.0.0.236/trunk@213322 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-08 22:04:09 +00:00
Olli.Pettay%helsinki.fi
49abd2076b Bug 355100, Remove XTF visuals (part I/II, not removing files), r=alex,bryner,aaronr,doronr sr=bz
git-svn-id: svn://10.0.0.236/trunk@213305 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-08 14:15:02 +00:00
aaronleventhal%moonset.net
06a68f0229 Bug 354745. Show/hide events not fired for layout changes in a changelist. r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@213170 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-05 13:35:23 +00:00
rbs%maths.uq.edu.au
e4408a3277 <mathml:mtd> with border-collapse <html:table> crashes [@ nsRuleNode::GetStyleData] [@ nsCachedStyleData::GetStyleData], b=354766, r=bernd, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@212869 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-29 17:40:21 +00:00
bzbarsky%mit.edu
6d70200bb9 More flag whack-a-mole. Bug 354489, r+sr=rbs
git-svn-id: svn://10.0.0.236/trunk@212772 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-28 01:15:22 +00:00
bzbarsky%mit.edu
e7bdd87769 Make the block part of an {ib} split have a space manager if it needs to. Bug
354133, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@212440 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-27 02:02:22 +00:00
timeless%mozdev.org
ac83e26757 Bug 354183 stop including nsTableCellFrame.h
r=bz sr=bz


git-svn-id: svn://10.0.0.236/trunk@212376 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-26 11:01:28 +00:00
bzbarsky%mit.edu
54adf0f535 Fix bug 354144 -- absolute positioning against the ICB is broken. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@212339 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-25 22:33:01 +00:00
bzbarsky%mit.edu
49ec3a61b1 Disallow most MathML from floating or being positioned (<math> is the one
exception).  Bug 353897, r+sr=rbs


git-svn-id: svn://10.0.0.236/trunk@212281 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-25 03:36:23 +00:00
bzbarsky%mit.edu
35142c0be3 Don't return mInitialContainingBlock if we find no absolute containing block.
That can Just Happen.  Bug 330909, patch by bernd, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@212267 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-24 21:20:32 +00:00
timeless%mozdev.org
20ba3aa713 Bug 351688 nsCSSFrameConstructor::ContentRemoved has a hopefully useless DEBUG oversafe null check of parentFrame
r=mats.palmgren sr=bz


git-svn-id: svn://10.0.0.236/trunk@211863 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-16 23:01:12 +00:00
bzbarsky%mit.edu
6908b8746f Allow generated content (:before/:after) for fieldsets. Bug 339289, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@210090 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-14 00:51:16 +00:00
bmlk%gmx.de
04ee0a91e7 use table display type for decision about the documentElement only if the frame creation is not tag based bug 340945 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@209733 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-11 18:09:16 +00:00
tor%cs.brown.edu
90cb31affc Bug 350059 Allow cairo.h usage in nsSVGUtils.h. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@209713 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-11 15:26:19 +00:00
bzbarsky%mit.edu
eec99de8eb Comment change to point to the bug that covers the issue
git-svn-id: svn://10.0.0.236/trunk@209673 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-10 23:23:31 +00:00