roc+%cs.cmu.edu
c5bc6fd3ff
Bug 369227. Record the first soft break beyond the available width, if there isn't one within the available width. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@220621 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-21 01:52:03 +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
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
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
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
c380d24c54
Combine the code that tests inlines for dependence on the containing block width in order to disable resize reflow optimizations, and add to that code things that shrink wrap (inline-block, inline-table, buttons, fieldsets). Also move the percentage-height tests out, and into InitResizeFlags. b=163504 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@219046 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-27 18:40:26 +00:00
bzbarsky%mit.edu
343ced44ba
Make mComputedWidth private, with a getter/setter, and make the setter update
...
the resize flags. Bug 367442, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@218933 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 00:05:12 +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
roc+%cs.cmu.edu
29067fe44b
Bug 333659. Relanding nsLineLayout API changes for new text code. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@218576 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-18 01:20:09 +00:00
roc+%cs.cmu.edu
08d8b2fc0c
Fixing luna bustage, hopefully
...
git-svn-id: svn://10.0.0.236/trunk@218551 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 22:11:01 +00:00
roc+%cs.cmu.edu
30f5e5c949
Reland conversion of HaveForcedBreakPosition check to assertion. See if this busts luna. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@218533 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 20:31:13 +00:00
roc+%cs.cmu.edu
9490c03f81
Relanding changes to replace local helpers with new nsLayoutUtils versions. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@218498 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 08:11:32 +00:00
roc+%cs.cmu.edu
09049cfebe
Backout of nsLineLayout changes; trying to fix luna orange
...
git-svn-id: svn://10.0.0.236/trunk@218497 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 06:27:01 +00:00
roc+%cs.cmu.edu
75d52f8575
Bug 333659. Relanding new nsLineLayout API to make in-first-line-frame and current-nsLineBox available; should not affect anything. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@218491 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 03:59:32 +00:00
roc+%cs.cmu.edu
4f42d74394
Backing out text landing.
...
git-svn-id: svn://10.0.0.236/trunk@218456 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-16 22:25:20 +00:00
roc+%cs.cmu.edu
e2373f9a14
Bug 333659. Landing new text interfaces, new gfxPangoTextRun (enabled), new textframe code (disabled). r+sr=dbaron for the part-of-the-build layout parts,r=stuart for the part-of-the-build gfx parts
...
git-svn-id: svn://10.0.0.236/trunk@218447 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-16 20:51:52 +00:00
bzbarsky%mit.edu
037b31603b
Use the right percentage base for figuring out text-indent when drawing the
...
text-decoration. Bug 364862, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@217560 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-30 05:56:25 +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
roc+%cs.cmu.edu
23b002054c
Bug 359371. Calculate correct available content-height when a float has border or padding. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@217000 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-15 01:52:53 +00:00
roc+%cs.cmu.edu
08f7e2bd9a
Bug 359371. Don't leak overflowing frames if a bug occurs and we still have overflowing frames in an unconstrained reflow situation. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@216866 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-12 01:06:23 +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
f06ba26d9e
Bug 343445. Change inline reflow strategy to avoid looking ahead through words while measuring text. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@213836 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-19 01:47:47 +00:00
roc+%cs.cmu.edu
5082d0a3b4
Bug 350137. Don't forget to apply BR-clearance when the BR is on the last line of a block. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@212138 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-22 01:53:13 +00:00
bzbarsky%mit.edu
44797a0245
If we have to do a second pass because we found clearance on the first pass,
...
invalidate the entire area we're being moved to. Otherwise invalidates from
the first pass will be lost. Bug 352417, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@211967 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-19 00:15:15 +00:00
mats.palmgren%bredband.net
b414463fe9
Don't iterate past the beginning line (crash fix). b=350370 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@208611 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-28 07:30:01 +00:00
mats.palmgren%bredband.net
381021cc6b
Don't steal floats from descendant float containing blocks. b=348887 (patch B) r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@208388 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-25 04:17:41 +00:00
mats.palmgren%bredband.net
338bf14650
Don't steal floats from descendant float containing blocks. b=348887 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@208086 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-22 03:04:18 +00:00
mats.palmgren%bredband.net
3f20c69ea2
Leave the placeholder's pointer to the out-of-flow intact because the float cache depends on it later on. b=348688 r=bzbarsky sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@207728 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-17 13:15:26 +00:00
mats.palmgren%bredband.net
2912296601
Don't propagate the NS_BLOCK_FRAME_HAS_OUTSIDE_BULLET flag from a prev-in-flow. b=337412 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@206658 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-06 03:27:00 +00:00
mats.palmgren%bredband.net
1860854e4c
Don't make a frame on the overflow line list a sibling to a frame on the principal line list. b=344557 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@206043 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 09:38:35 +00:00
cvshook%sicking.cc
365266c686
Bug 344050: Kill nsITextContent and move the methods to nsIContent. r/sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@203078 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-19 04:36:36 +00:00
aaronleventhal%moonset.net
dd08577b50
Bug 342035. Create accessibles for all block level elements so that ATs can determine line spacing. r=ginn.chen, sr=neil, sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@201907 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-11 22:14:09 +00:00
mats.palmgren%bredband.net
1bbaeed419
Fix crash when recreating <caption> frames. Add ASSERTIONs to detect similar frame construction errors in the future. b=341382 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@201187 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-29 02:32:36 +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
dbaron%dbaron.org
de473d5f34
Make conditions that cause additional pass for shrink wrap case less restrictive so that we do the additional pass inside a shrink-wrap scrollframe. b=325680 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@200385 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-20 00:46:32 +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
mats.palmgren%bredband.net
eac60be8ef
Make the frame dump in CheckFloats() DEBUG_roc only. b=322436 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@199175 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-07 01:39:48 +00:00
mats.palmgren%bredband.net
416c8f1e7b
Clear the float cache from placeholders that are descendants of the frame we remove. b=337883 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@198362 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-25 01:30:34 +00:00
cvshook%sicking.cc
cec9ea1123
Bug 335911: Change nsIContent::IsContentOfType to nsINode::IsNodeOfType. r/sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@196009 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-05 06:52:21 +00:00
aaronleventhal%moonset.net
79b63d8013
Bug 326090. Expose <hr> as ROLE_SEPARATOR. Patch by Ming (Mike) Gao. r=aaronlev, sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@195569 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-27 16:23:09 +00:00
roc+%cs.cmu.edu
1f8c8f9667
Bug 335140. Set 'force descend into' bit on frames and then leave it set until we're done with the display list ... then we can be sure of descending to frames whose container is not an ancestor of the placeholder. r=mrbkap
...
git-svn-id: svn://10.0.0.236/trunk@195507 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-27 02:45:03 +00:00
roc+%cs.cmu.edu
02b50c231a
Bug 330305. Rename nsSelection to nsFrameSelection, and deCOMtaminate it, removing nsIFrameSelection. patch by Marc Liddell, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@195412 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-26 02:01:07 +00:00