966 Commits

Author SHA1 Message Date
fantasai.cvs%inkedblade.net
8956db9438 fix border/padding and availableHeight calculations at page/column breaks, b=368079 r+sr=roc a=roc
git-svn-id: svn://10.0.0.236/trunk@243176 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-16 03:54:47 +00:00
roc+%cs.cmu.edu
cd920d0baf Bug 408749. Use a QI check instead of a frame-type check to detect blocks. r+sr=bzbarsky,a=schrep
git-svn-id: svn://10.0.0.236/trunk@241882 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-21 03:28:19 +00:00
smontagu%smontagu.org
97c9daa858 Collect frames from all block continuations in the buffer for bidi resolution. Bug 408292. r+sr=roc, a=schrep
git-svn-id: svn://10.0.0.236/trunk@241838 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-20 10:06:14 +00:00
vladimir%pobox.com
7525088701 b=406458; code cleanup: add new ThebesContext() call as opposed to NATIVE_THEBES_CONTEXT hackery, r=stuart
git-svn-id: svn://10.0.0.236/trunk@241704 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-18 23:01:18 +00:00
dholbert%cs.stanford.edu
90e187eb4b Whitespace-only change -- fixing too-little-indentation in two lines
added from bug 385607.


git-svn-id: svn://10.0.0.236/trunk@240959 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-13 00:24:32 +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
96a373842b Bug 404180. Bidi reordering moves frames around so we can't trust pfd->mBounds in nsLineLayout::RelativePositionFrames. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@240888 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-12 01:43:09 +00:00
smontagu%smontagu.org
9a091c85e5 Only try to process first-letter frames when they exist. Bug 404209, r+sr+b=roc
git-svn-id: svn://10.0.0.236/trunk@240520 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-05 08:15:15 +00:00
roc+%cs.cmu.edu
a497169ebc Bug 375304. Make nsHTMLScrollFrame handle situations where the child content height depends on our height. patch by Eli Friedman, r+sr=roc,dbaron
git-svn-id: svn://10.0.0.236/trunk@240490 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-05 03:05:57 +00:00
roc+%cs.cmu.edu
90eb0469a3 Bug 406568. Don't reflow abs-pos kids of a block if we're going to reflow it again because of a clearance change. r=sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@240489 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-05 02:57:53 +00:00
roc+%cs.cmu.edu
8e0c701995 Backing out unintentionally-checked in stuff
git-svn-id: svn://10.0.0.236/trunk@240481 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-05 02:12:40 +00:00
roc+%cs.cmu.edu
da23161809 Bug 392809. Break between whitespace and following punctuation even when stop_at_punctuation is false. Don't stop between punctuation and following non-punctuatino if the preceding punctuation follows white-space. r=smontagu
git-svn-id: svn://10.0.0.236/trunk@240480 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-05 02:11:17 +00:00
dmose%mozilla.org
0714b46c51 Backing out fix for bug 392785 as per roc + mconnor.
git-svn-id: svn://10.0.0.236/trunk@240455 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-04 23:32:09 +00:00
roc+%cs.cmu.edu
4208f529c8 Bug 406484. Do RecoverStateFrom for not-dirty inline lines containing floats when willReflowAgain is true, because the floats must be moved by deltaY. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@240372 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-04 01:30:50 +00:00
bzbarsky%mit.edu
781a6f73d7 Relanding bug 403657, since there was no obvious perf impact
git-svn-id: svn://10.0.0.236/trunk@240346 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-03 21:31:26 +00:00
dholbert%cs.stanford.edu
f371353c58 Re-landing Bug 405517, after backing it out to look for Ts regression.
(no regression found)


git-svn-id: svn://10.0.0.236/trunk@240343 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-03 20:41:24 +00:00
dholbert%cs.stanford.edu
eba8c70863 Backing out Bug 405517 to see if it causes a Ts regression
git-svn-id: svn://10.0.0.236/trunk@240338 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-03 19:34:45 +00:00
bzbarsky%mit.edu
860878edad Backing out bug 403657 to see whether it causes the Ts regression
git-svn-id: svn://10.0.0.236/trunk@240331 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-03 18:32:51 +00:00
masayuki%d-toybox.com
425bca40e0 Bug 392785 overflowed underline sometimes is not repainted at scrolling r+sr=roc, b1.9=dbaron
git-svn-id: svn://10.0.0.236/trunk@240281 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-03 06:51:59 +00:00
bzbarsky%mit.edu
61e0f4bf4a Don't position bullets on empty list items too high. Bug 403657, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@240275 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-03 05:33:22 +00:00
dholbert%cs.stanford.edu
da0ac73930 Bug 405517: Allow margins to affect empty line y-pos, to enforce
emptyLine.mBounds.y always == emptyLine.next().mBounds.y
r+sr=roc, a=blocking1.9


git-svn-id: svn://10.0.0.236/trunk@240274 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-03 05:30:02 +00:00
roc+%cs.cmu.edu
8a92691371 Bug 406297. Assertion about stale float caches should not fire when the line is not dirty, because the float cache is not stale in that case. r+sr+a=dbaron
git-svn-id: svn://10.0.0.236/trunk@240272 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-03 04:25:02 +00:00
roc+%cs.cmu.edu
1d260b234d Backing out bug 375304 to fix reftest failures.
git-svn-id: svn://10.0.0.236/trunk@240221 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-01 11: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
mats.palmgren%bredband.net
0fbd4d199e Propagate |aRemoveOnlyFluidContinuations| when removing continuations in other blocks. b=405178 r+sr=roc a=mtschrep
git-svn-id: svn://10.0.0.236/trunk@240218 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-01 10:47:59 +00:00
roc+%cs.cmu.edu
b3bb8ffcc4 Bug 375304. Fix absolute positioning where the abs-pos container is scrollable and has a height constrained by min-height etc. Patch by Eli Friedman, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@240216 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-01 10:38:09 +00:00
roc+%cs.cmu.edu
7e224dea7d Bug 406137. Fix crashes on redhat.com etc by avoiding RecoverFloats traversing stale float caches. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@240207 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-01 08:29:02 +00:00
roc+%cs.cmu.edu
90590b201a Bug 320378. Skip reflowing lines in ReflowDirtyLines if we know that we're going to come back here because clearance was detected. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@240132 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-30 01:49:01 +00:00
bzbarsky%mit.edu
44fb7d7965 Fix bug 403134. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@239913 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-26 00:15:21 +00:00
dholbert%cs.stanford.edu
93565a18cc Bug 393655: Fix undetected cases of lines going empty --> nonempty, due to margins. r+sr=roc, a=blocking1.9+
git-svn-id: svn://10.0.0.236/trunk@239470 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-15 19:07:04 +00:00
bzbarsky%mit.edu
6e7c4cc401 Don't compare lines from different blockframes' lists to each other. Also fix
handling of text-decorations in in-flows of blocks with text-indent.  Bug
393330, r+sr=roc, a=schrep


git-svn-id: svn://10.0.0.236/trunk@239416 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-15 06:12:17 +00:00
roc+%cs.cmu.edu
2976f217bc Backing out bug 375304 because of reftest failure
git-svn-id: svn://10.0.0.236/trunk@239180 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-12 03:40:28 +00:00
roc+%cs.cmu.edu
b995968e7a Bug 375304. Fix absolute positioning for scrolled abs-pos containers with weird height constraints. patch by Eli Friedman, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@239179 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-12 02:20:13 +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
reed%reedloden.com
d479bc0f1e Bug 307242 - Use ClearFloats instead of inspecting the space manager to determine the final height of a block formatting context [p=roc r=elif sr=roc a=blocking1.9+]
git-svn-id: svn://10.0.0.236/trunk@238956 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-08 04:42:26 +00:00
reed%reedloden.com
961deefa00 Bug 398144 - Make blocks that are margin-roots never consider themselves empty. [p=roc r+sr=dbaron a=blocking1.9+]
git-svn-id: svn://10.0.0.236/trunk@238947 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-08 03:55:12 +00:00
dholbert%cs.stanford.edu
329aea1cdd Bug 400171: check line mCombinedArea (along with mBounds) to find float damage. r+sr=roc, a=blocking1.9+
git-svn-id: svn://10.0.0.236/trunk@238926 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-07 20:07:54 +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
fantasai.cvs%inkedblade.net
3667c35027 Fix StealFrame failure + crash, b=400223 r+sr=roc a=roc
git-svn-id: svn://10.0.0.236/trunk@237915 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-19 14:54:07 +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
bzbarsky%mit.edu
9c12a12131 Don't allow first-letter on the block inside a mathml table cell. Bug 398510,
r+sr+a=roc


git-svn-id: svn://10.0.0.236/trunk@237571 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-11 04:36:48 +00:00
fantasai.cvs%inkedblade.net
df72ada2c3 crash due to improper overflow container frame deletion, b=393956, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@237551 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-10 22:09:53 +00:00
roc+%cs.cmu.edu
e41c942cef Bug 389583. Move an assert so it doesn't fire bogusly. r=eli,sr=mats,a=dbaron
git-svn-id: svn://10.0.0.236/trunk@237503 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-10 02:18:40 +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
reed%reedloden.com
c6b19165cf Backed out elif's patch from bug 307242 due to it causing a reftest failure for the test for bug 218473.
git-svn-id: svn://10.0.0.236/trunk@237249 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-04 04:33:43 +00:00
reed%reedloden.com
dcc5727a4b Bug 307242 - "ASSERTION: bad argument: '(aRight > mLeft) && (aRight < mRight)', @ nsSpaceManager::BandRect::SplitHorizontally" [p=elif (sharparrow1) r+sr+a1.9=roc]
git-svn-id: svn://10.0.0.236/trunk@237237 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-04 03:18:31 +00:00
fantasai.cvs%inkedblade.net
77c12e0239 fix use of DEBUG-only data member, bug=154892 r+sr+a=roc
git-svn-id: svn://10.0.0.236/trunk@237065 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-02 08:29:23 +00:00
fantasai.cvs%inkedblade.net
3a00ff8d0e paginate absolutely-positioned elements, b=154892 r+sr=roc a=roc
git-svn-id: svn://10.0.0.236/trunk@237057 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-02 05:57:46 +00:00
dholbert%cs.stanford.edu
4910cecd69 Bug 391894, comment amendment for just-checked-in patch. (s/normal-child/regular-children/)
git-svn-id: svn://10.0.0.236/trunk@236565 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-24 20:25:38 +00:00