mats.palmgren%bredband.net
3e47c7e680
Add 'aLineList' param to MarkLineDirty() so it knows the correct line list for 'aLine'. b=443528 r+sr=roc a=dveditz
...
git-svn-id: svn://10.0.0.236/trunk@254651 18797224-902f-48f8-a5cc-f745e15eee43
2008-10-18 14:53:25 +00:00
dbaron%dbaron.org
c89087138e
Compute widths for replaced block clearing past floats once we're at the correct vertical position. b=430813 r+sr=roc a=schrep
...
git-svn-id: svn://10.0.0.236/trunk@251144 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-03 23:34:08 +00:00
dbaron%dbaron.org
d5574dc143
Fix bug 427129 / 377664: When displacing blocks that don't interact with floats around floats, displace the border box rather than the margin box. Fix bug 427782: Simultaneously, only displace when the width actually won't go down to an amount that fits (i.e., if it will go to an amount smaller than the intrinsic minimum width, let it). b=427129 r+sr=roc a=schrep
...
git-svn-id: svn://10.0.0.236/trunk@250238 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-15 01:06:51 +00:00
dholbert%cs.stanford.edu
b9c6bed1a8
Bug 427017: Disable page-break-before/after for fixed- & absolutely-positioned elements. Also, fix assertion during an iterator-comparison by handling case where lineBox is in overflow-lines. r=fantasai sr=roc a1.9=beltzner
...
git-svn-id: svn://10.0.0.236/trunk@250109 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-12 05:32:51 +00:00
masayuki%d-toybox.com
2b55622b55
Bug 417014 Need blacklist system for underline offset adjusting of CJK fonts which have wrong underline offset r=roc+stuart, sr=roc, b1.9=stuart
...
git-svn-id: svn://10.0.0.236/trunk@247704 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-13 02:37:00 +00:00
roc+%cs.cmu.edu
228ea44f31
Bug 400057. Make nsBlockInFlowLineIterator useful for finding the line containing a frame, searching across block continuations and their overflow lines. Use it in various places, especially in textrun construction. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@246660 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-27 09:53:48 +00:00
fantasai.cvs%inkedblade.net
cfb0969dfb
fixed positioned elements print only on first and last pages b=417676 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@246412 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-24 12:19:18 +00:00
reed%reedloden.com
9e393157c2
Bug 391559 - "Incorrect ordered-list numbering within -moz-column-* (and/or numbering changes when clicked)" [p=craig.topper@gmail.com (Craig Topper) r+sr=roc a1.9=beltzner]
...
git-svn-id: svn://10.0.0.236/trunk@246395 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-24 07:31:30 +00:00
dbaron%dbaron.org
35c09e2930
Stop using -moz-float-edge for list items, but offset the bullet position in the presence of floats. b=413840 (and numerous others) r+sr=roc a=blocking1.9+
...
git-svn-id: svn://10.0.0.236/trunk@245373 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-10 21:50:05 +00:00
roc+%cs.cmu.edu
d109a56eb2
Bug 411870. nsBidiPresUtils needs to track the current line across block continuation boundaries. r=smontagu
...
git-svn-id: svn://10.0.0.236/trunk@244408 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-29 23:39:39 +00:00
dbaron%dbaron.org
34753d1cd7
Push scrollframes, tables, and other blocks that don't participate in float formatting down when they don't fit next to floats. b=134706,349255 r+sr=roc a=blocking1.9+
...
git-svn-id: svn://10.0.0.236/trunk@244318 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-29 07:41:28 +00:00
roc+%cs.cmu.edu
483e3cd22a
Bug 411870 backout again
...
git-svn-id: svn://10.0.0.236/trunk@244232 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-28 19:10:27 +00:00
roc+%cs.cmu.edu
04c1c0e95b
Bug 411870. Bidi resolution needs to scan through block continuations when tracking the current line for frames. r=smontagu
...
git-svn-id: svn://10.0.0.236/trunk@244221 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-28 18:16:22 +00:00
roc+%cs.cmu.edu
f073d362e1
backing out 411870
...
git-svn-id: svn://10.0.0.236/trunk@244186 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-28 06:28:31 +00:00
roc+%cs.cmu.edu
80cdf2108f
Bug 411870. Make bidi resolution track lines across block continuation boundaries. r=smontagu
...
git-svn-id: svn://10.0.0.236/trunk@244179 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-28 05:07:14 +00:00
dbaron%dbaron.org
462626a042
Fix comment describing nsBlockFrame.
...
git-svn-id: svn://10.0.0.236/trunk@240944 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-12 21:49:14 +00:00
roc+%cs.cmu.edu
3350e65107
Bug 400244. Remove UndoSplitPlaceholders which is not only unnecessary but actually harmful/crashy. r=fantasai,sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@240219 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-01 10:51:56 +00:00
reed%reedloden.com
8de8371f0a
Bug 398101 - Be more diligent about invalidating textruns for lines [p=roc r+sr=dbaron a=blocking1.9+]
...
git-svn-id: svn://10.0.0.236/trunk@239026 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-09 06:55:32 +00:00
dholbert%cs.stanford.edu
723ad12919
Bug 399384: Make first-letter frames use nearest ancestor blockFrame's content node, instead of direct parent's.
...
r=bzbarsky, r+a=roc
git-svn-id: svn://10.0.0.236/trunk@237923 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-19 17:41:29 +00:00
roc+%cs.cmu.edu
151722d42f
Bug 397518. Wrap inline non-MathML children of MathML frames in anonymous blocks. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@237645 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-12 08:30:55 +00:00
smontagu%smontagu.org
f0d002ff76
Change the usage of NEEDS_BIDI_RESOLUTION so that it is either set on every block in a continuation chain or none of them. Bug 394805, r+sr+b=roc
...
git-svn-id: svn://10.0.0.236/trunk@237584 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-11 11:41:04 +00:00
mats.palmgren%bredband.net
141f429ec8
Take into account that |line| can be an overflow line when accessing the previous line. Patch by roc and me. b=397007 r+sr=me/roc blocking1.9=roc
...
git-svn-id: svn://10.0.0.236/trunk@237376 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-07 17:32:07 +00:00
smontagu%smontagu.org
ea4e88a4ac
Previous checkin was for bug 382422
...
git-svn-id: svn://10.0.0.236/trunk@233782 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-03 07:00:10 +00:00
smontagu%smontagu.org
51c436f5f0
Bug 382422: Optimize calls to Bidi resolution. r=dbaron, sr+a=roc
...
git-svn-id: svn://10.0.0.236/trunk@233781 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-03 06:51:11 +00:00
roc+%cs.cmu.edu
ab3ff204b2
Bug 390050. Scan all blocks in a flow-chain, and their overflow lines, when iterating through lines to build text runs. r=smontagu,mats,sr=mats,a=bz
...
git-svn-id: svn://10.0.0.236/trunk@232839 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 09:08:15 +00:00
masayuki%d-toybox.com
a8014a587a
Bug 365336 text-decoration width should be rounded to the device pixels r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@231524 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-06 08:15:02 +00:00
jwalden%mit.edu
ca9d80062e
Bug 386801 - nsAbsoluteContainingBlock doesn't need to store a child list name; this shaves four bytes off nsViewportFrame, nsBlockFrame, and nsPositionedInlineFrame. r+sr+a=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@231374 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-02 22:44:36 +00:00
roc+%cs.cmu.edu
cb8c6e3a11
Bug 379349. Add support for 'overflow containers' --- special frame continuations that do not map any content of their own, but serve only as containers for laying out children that overflowed their parents' content height. patch by fantasai, r+sr=eli,roc
...
git-svn-id: svn://10.0.0.236/trunk@231012 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 04:03:31 +00:00
sharparrow1%yahoo.com
b12e3b26ae
Bug 381385: get rid of unneeded members of nsFloatCache (saves about 50 bytes footprint per float). r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@228176 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-16 20:27:46 +00:00
smontagu%smontagu.org
9e8d8775fc
Do bidi resolution during GetPrefWidth() and GetMinWidth() as well as Reflow(). Bug 365130, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@227109 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-28 14:40:56 +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
roc+%cs.cmu.edu
469aea8977
Bug 368863. Reparent floats properly when placeholders move between inline continuations. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@224821 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-21 00:42:58 +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
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
smontagu%smontagu.org
a95c2244b3
Bug 369236: Move IsBidiFormControl from nsHTMLReflowState to nsBlockFrame. r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@219955 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-11 07:19:09 +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
103e95ab15
Change the bulk of ascent (baseline) computation to happen on a virtual method on nsIFrame, and remove the redundant descent member from nsHTMLReflowMetrics, primarily to support having both first-line and last-line baselines. b=367332 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@218785 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 04:06:56 +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
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
roc+%cs.cmu.edu
a39e1632ea
Bug 312963. Apply aTryPull to pulls of inline frames as well as lines. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@212140 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-22 02:04:56 +00:00
roc+%cs.cmu.edu
b1ae3cf7e7
relanding fix for bug 317278 :-(
...
git-svn-id: svn://10.0.0.236/trunk@201179 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-29 01:19:48 +00:00
roc+%cs.cmu.edu
bd9175c940
Bug 237085. Move string subdivision code to gfx so we can efficiently make it metrics-dependent. r=smontagu,sr=rbs
...
git-svn-id: svn://10.0.0.236/trunk@200963 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-26 22:18:23 +00:00
roc+%cs.cmu.edu
d643001e93
Bug 317278. Reland patch that reflows lines again if we detect some already-placed floats need to move to the next line. This time, with changes to nsSpaceManager's PushState/PopState infrastructure so that dynamic allocations are never required; the saved state is always stack-allocated by callers. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@200367 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-19 23:06:59 +00:00
roc+%cs.cmu.edu
fd309fa894
Backing out patch for 317278 due to Tp regression
...
git-svn-id: svn://10.0.0.236/trunk@200257 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-19 01:29:07 +00:00
roc+%cs.cmu.edu
6d142c7e60
Bug 317278. In some cases we push float placeholders from one line to the next after we have already placed their floats on the line. In such situations, reset the space manager and force the line to reflow again so those floats don't get placed. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@200256 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-19 00:02:49 +00:00
roc+%cs.cmu.edu
e71eeec88a
Bug 339889. Propagate invalidation through the frame hierarchy to topmost widgets. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@199477 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-08 01:11:43 +00:00
roc+%cs.cmu.edu
b6ebd9961d
Bug 328926. Remove aPresContext parameter from nsIFrame::Destroy, nsIFrame::SetInitialChildList and nsIFrame::RemovedAsPrimaryFrame. patch by Marc Liddell, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@193976 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-10 00:16:29 +00:00
roc+%cs.cmu.edu
cbc5855a71
Bug 282173. Remove BuildFloatList. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@193974 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-09 22:56:27 +00:00