Commit Graph

1065 Commits

Author SHA1 Message Date
4406076dc0 Bug 408749. Use a QI check instead of a frame-type check to detect blocks. r+sr=bzbarsky,a=schrep 2007-12-20 19:28:18 -08:00
4dc1c6d9ab Collect frames from all block continuations in the buffer for bidi resolution. Bug 408292. r+sr=roc, a=schrep 2007-12-20 02:06:14 -08:00
0d2a47ea90 b=406458; code cleanup: add new ThebesContext() call as opposed to NATIVE_THEBES_CONTEXT hackery, r=stuart 2007-12-18 15:01:15 -08:00
cd8c7db7c9 Whitespace-only change -- fixing too-little-indentation in two lines added from bug 385607. 2007-12-12 16:24:32 -08:00
292273a3ac Fix comment describing nsBlockFrame. 2007-12-12 13:49:14 -08:00
a83ec3a833 Bug 404180. Bidi reordering moves frames around so we can't trust pfd->mBounds in nsLineLayout::RelativePositionFrames. r+sr=dbaron 2007-12-11 17:43:09 -08:00
227bd9e0ef Only try to process first-letter frames when they exist. Bug 404209, r+sr+b=roc 2007-12-05 00:15:15 -08:00
2aaa6867c5 Bug 375304. Make nsHTMLScrollFrame handle situations where the child content height depends on our height. patch by Eli Friedman, r+sr=roc,dbaron 2007-12-04 19:05:57 -08:00
378c5fd09f 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 2007-12-04 18:57:53 -08:00
60036d3d9a Backing out unintentionally-checked in stuff 2007-12-04 18:12:40 -08:00
e348b4eab0 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 2007-12-04 18:11:17 -08:00
6aa9b580c3 Backing out fix for bug 392785 as per roc + mconnor. 2007-12-04 15:32:08 -08:00
ea0386fabd 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 2007-12-03 17:30:49 -08:00
9bedeb8556 Relanding bug 403657, since there was no obvious perf impact 2007-12-03 13:31:26 -08:00
7b6aa5db2a Re-landing Bug 405517, after backing it out to look for Ts regression. (no regression found) 2007-12-03 12:41:24 -08:00
14a9a405ab Backing out Bug 405517 to see if it causes a Ts regression 2007-12-03 11:34:45 -08:00
0ec984e9d9 Backing out bug 403657 to see whether it causes the Ts regression 2007-12-03 10:32:51 -08:00
dfe9790c0b Bug 392785 overflowed underline sometimes is not repainted at scrolling r+sr=roc, b1.9=dbaron 2007-12-02 22:51:57 -08:00
3b21150030 Don't position bullets on empty list items too high. Bug 403657, r+sr=dbaron 2007-12-02 21:33:22 -08:00
d30fc81ff5 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 2007-12-02 21:30:02 -08:00
fc2c03d641 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 2007-12-02 20:25:02 -08:00
309b902992 Backing out bug 375304 to fix reftest failures. 2007-12-01 03:49:13 -08:00
8dc8fca37a Bug 400244. Remove UndoSplitPlaceholders which is not only unnecessary but actually harmful/crashy. r=fantasai,sr=dbaron 2007-12-01 02:51:56 -08:00
e8d310bada Propagate |aRemoveOnlyFluidContinuations| when removing continuations in other blocks. b=405178 r+sr=roc a=mtschrep 2007-12-01 02:47:58 -08:00
df633bd27a 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 2007-12-01 02:38:09 -08:00
f4ae84732c Bug 406137. Fix crashes on redhat.com etc by avoiding RecoverFloats traversing stale float caches. r+sr=dbaron 2007-12-01 00:29:02 -08:00
20e5b06a87 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 2007-11-29 17:49:01 -08:00
d1b6d1f5cf Fix bug 403134. r+sr=roc 2007-11-25 16:15:20 -08:00
8a78066e1c Bug 393655: Fix undetected cases of lines going empty --> nonempty, due to margins. r+sr=roc, a=blocking1.9+ 2007-11-15 11:07:04 -08:00
75a8e70289 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 2007-11-14 22:12:17 -08:00
ee1aa7a195 Backing out bug 375304 because of reftest failure 2007-11-11 19:40:27 -08:00
76c9ee84e0 Bug 375304. Fix absolute positioning for scrolled abs-pos containers with weird height constraints. patch by Eli Friedman, r+sr=roc 2007-11-11 18:19:35 -08:00
3c02193209 Bug 398101 - Be more diligent about invalidating textruns for lines [p=roc r+sr=dbaron a=blocking1.9+] 2007-11-08 22:55:32 -08:00
166f6ff0cf 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+] 2007-11-07 20:42:26 -08:00
14a1776336 Bug 398144 - Make blocks that are margin-roots never consider themselves empty. [p=roc r+sr=dbaron a=blocking1.9+] 2007-11-07 19:55:12 -08:00
955812a4a1 Bug 400171: check line mCombinedArea (along with mBounds) to find float damage. r+sr=roc, a=blocking1.9+ 2007-11-07 12:07:54 -08:00
25179a8425 Bug 399384: Make first-letter frames use nearest ancestor blockFrame's content node, instead of direct parent's. r=bzbarsky, r+a=roc 2007-10-19 10:41:29 -07:00
79668ce3e8 Fix StealFrame failure + crash, b=400223 r+sr=roc a=roc 2007-10-19 07:54:07 -07:00
b6efadf476 Bug 397518. Wrap inline non-MathML children of MathML frames in anonymous blocks. r+sr=bzbarsky 2007-10-12 01:30:54 -07:00
a6eade3046 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 2007-10-11 04:41:04 -07:00
7b94aca146 Don't allow first-letter on the block inside a mathml table cell. Bug 398510, r+sr+a=roc 2007-10-10 21:36:48 -07:00
9bf72a70e1 crash due to improper overflow container frame deletion, b=393956, r+sr=roc 2007-10-10 15:09:53 -07:00
d91eafc7e8 Bug 389583. Move an assert so it doesn't fire bogusly. r=eli,sr=mats,a=dbaron 2007-10-09 19:18:40 -07:00
a66b887e59 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 2007-10-07 10:32:07 -07:00
8a5898a0ae Backed out elif's patch from bug 307242 due to it causing a reftest failure for the test for bug 218473. 2007-10-03 21:33:43 -07:00
9dad88def1 Bug 307242 - "ASSERTION: bad argument: '(aRight > mLeft) && (aRight < mRight)', @ nsSpaceManager::BandRect::SplitHorizontally" [p=elif (sharparrow1) r+sr+a1.9=roc] 2007-10-03 20:18:31 -07:00
ee1682f02e fix use of DEBUG-only data member, bug=154892 r+sr+a=roc 2007-10-02 01:29:23 -07:00
9011ed7502 paginate absolutely-positioned elements, b=154892 r+sr=roc a=roc 2007-10-01 22:57:45 -07:00
7093a19b61 Bug 391894, comment amendment for just-checked-in patch. (s/normal-child/regular-children/) 2007-09-24 13:25:38 -07:00
1cea9f4e36 Bug 391894: Make recursive call to CollectFloats on children in overflowList. r=roc sr=roc approval1.9=roc 2007-09-24 13:21:41 -07:00