Commit Graph

202 Commits

Author SHA1 Message Date
Boris Zbarsky
d9344bb542 Bug 449362 - "Table border is rendered incorrectly when the table cell size changes due to javascript." [r+sr=roc] 2008-08-20 01:45:29 -05:00
Robert O'Callahan
3976bbe726 Bug 413048. Disable float breaking in columns. r+sr=dbaron 2008-08-12 21:32:10 +12:00
Robert O'Callahan
fba2d206f6 Bug 230555. Support white-space:pre-line. r+sr=dbaron 2008-08-12 20:31:56 +12:00
Robert O'Callahan
4042320c9c Bug 441418. Instead of guessing when frame broke at a first-letter boundary, explicitly record that in a reflow status bit. r+sr=dbaron 2008-08-06 12:31:25 +12:00
Simon Montagu
0dd0a7f5ba Support for word-wrap CSS property. Bug 99457, r+sr=dbaron, roc 2008-07-24 10:16:18 +03:00
Boris Zbarsky
3af92ec386 Bug 430352. Use the same border throughout. r+sr=roc 2008-07-17 09:32:49 -04:00
Andrew Smith ext:(%2C%20Rob%20Arnold%20%3Ctellrob%40gmail.com%3E%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
49c9b3d67e Implement css3 border-image property. (Bug 378217) r=vlad,dbaron,robarnold 2008-07-16 23:30:25 -07:00
L. David Baron
9e4ceade8e Backed out changeset 9b0b2391485c due to linker errors related to nsStyleStructInlines.h not being included enough. 2008-07-16 22:59:14 -07:00
Andrew Smith ext:(%2C%20Rob%20Arnold%20%3Ctellrob%40gmail.com%3E%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
bb4be48531 Implement css3 border-image property. (Bug 378217) r=vlad,dbaron,robarnold 2008-07-16 22:18:38 -07:00
Karuna (karunasagark@gmail.com)
22a214272c Bug 409331. Instead of QIing to nsBlockFrame in various places, call an nsLayoutUtils method to do it. r+sr=roc 2008-07-14 10:10:23 +12:00
Michael Ventnor
7e868a56e1 Implement text-shadow rendering (bug 10713). r+sr=roc. Relanding with fixes to make tests pass on Mac 2008-06-13 10:02:32 +12:00
Robert O'Callahan
6382ad7c40 Backing out text-shadow due to Mac issues 2008-06-12 17:32:31 +12:00
Michael Ventnor
480a40574d Implement text-shadow rendering. 2008-06-12 14:34:40 +12:00
Robert O'Callahan
446ada92bc Allow floats to be placed on the current line even after nonzero-width inline content has been placed. Fixes an Acid3 layout bug. r+sr=dbaron 2008-06-11 11:53:22 +12:00
L. David Baron
3da1e57e70 Don't make our anonymous blocks that wrap blocks inside inlines be containing blocks so that we get the right containing block direction per the CSS spec. (Bug 423306) r+sr=roc 2008-06-05 16:06:34 -07:00
L. David Baron
6ce40d4252 Eliminate unnecessary reference counting of gfxContext objects. b=433640 r+sr=roc 2008-06-03 15:25:31 -07:00
roc+@cs.cmu.edu
45ac0e7ce6 Bug 398332. Merge reflow statuses from out-of-flow frames more carefully so that we don't lose information about the primary reflow. r=fantasai,r+sr=dbaron,a=shaver 2008-05-28 06:39:41 -07:00
dbaron@dbaron.org
31fad3f842 Compute widths for replaced block clearing past floats once we're at the correct vertical position. b=430813 r+sr=roc a=schrep 2008-05-03 16:33:36 -07:00
dbaron@dbaron.org
f7b9b7673b Fix extra block-clearing caused by margins on tables. b=430813 r+sr=roc a=damon 2008-05-01 08:14:36 -07:00
timeless@mozdev.org
fb126ee7de Bug 351687 [@ nsBlockFrame::GetAccessible] mContent null check comes after we use mContent r=aaronl sr=dbaron a=beltzner 2008-04-21 10:19:32 -07:00
fantasai.cvs@inkedblade.net
b093864cba consider relevant overflow when balancing columns (fixes various crashes and hangs) b=404215 r+sr=roc a=beltzner 2008-04-18 00:40:35 -07:00
dbaron@dbaron.org
0cc180b641 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 2008-04-14 18:05:17 -07:00
mats.palmgren@bredband.net
5a624fe0b5 The position of an outside bullet should not be affected by floats inside the principal block (this fixes most cases). b=427370 r+sr=dbaron a1.9=beltzner 2008-04-13 10:43:12 -07:00
dholbert@cs.stanford.edu
8a24231d01 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 2008-04-11 22:32:49 -07:00
roc+@cs.cmu.edu
1bfe348601 Bug 425253. Propagate reflow-depth tracking through XUL box layout. r+sr=dbaron,a=damon 2008-04-09 21:39:41 -07:00
dholbert@cs.stanford.edu
2e71a1cb17 Bug 421710: Replace a call to CreateContinuationFor with calls to SplitPlaceholder & SplitLine, to make sure that we don't lose the real frame for which we've made a placeholder. Patch by Michal Novotny <michal@allpeers.com> r+sr=roc a=blocking1.9+ 2008-04-08 07:42:52 -07:00
roc+@cs.cmu.edu
a9f7ac7267 Bug 424710. Make sizing of abs-pos frames whose container is the initial containing block sane and consistent with Firefox 2, while still incorrect. r+sr=dbaron 2008-04-06 03:03:41 -07:00
smontagu@smontagu.org
974b8dbc2f Correct the coordinates for selection decoration in right-to-left text. Bug 421042, r+sr=roc, a=beltzner 2008-04-06 01:12:09 -07:00
masayuki@d-toybox.com
3ea5191188 Bug 421353 Moving the mouse over text hyperlinks which become underlined spikes cpu usage r=roc+stuart, sr=roc, a1.9=beltzner 2008-03-29 14:25:15 -07:00
bzbarsky@mit.edu
b607f1de90 Invalidate tables a little harder. Bug 421632, r+sr=roc 2008-03-16 13:32:48 -07:00
dholbert@cs.stanford.edu
52a3ff9796 Bug 421239: Remove broken/brittle optimization of guessing (incorrectly) whether a line might be empty, when we're determining whether we need to mark next line's margin as dirty. r+sr=roc, a=blocking1.9+ 2008-03-14 00:21:15 -07:00
dbaron@dbaron.org
950ba556ce Don't make overflow:-moz-hidden-unscrollable affect layout. b=411213 r+sr=roc a=beltzner 2008-03-13 08:23:27 -07:00
masayuki@d-toybox.com
821cf1156c 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 2008-03-12 19:36:58 -07:00
dbaron@dbaron.org
7003061847 Fix the weird Get* API on nsStyleSides in favor of returning structs by value, to avoid further occurrences of bug 420069. b=420069 r+sr=roc a=beltzner 2008-03-05 16:05:26 -08:00
dholbert@cs.stanford.edu
65a3300338 Bug 418766: Use width, not height, as a quick proxy for whether a line is empty. r+sr=roc, a=beltzner 2008-02-29 13:45:43 -08:00
roc+@cs.cmu.edu
bc1e698534 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 2008-02-27 01:53:48 -08:00
reed@reedloden.com
40b710e021 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] 2008-02-23 23:31:29 -08:00
fantasai.cvs@inkedblade.net
d4dc37580f switch GetOverflowAreaProperty callers to GetOverflowRect b=417116 r+sr=roc a=roc 2008-02-19 23:08:55 -08:00
masayuki@d-toybox.com
cb5c20d581 Bug 392785 overflowed underline sometimes is not repainted at scrolling r+sr=roc b1.9=dbaron 2008-02-16 07:31:27 -08:00
jruderman@hmc.edu
246a074c8f Remove redundant |if| around assertion (bug 416645). r+sr=roc, a=schrep 2008-02-11 09:13:34 -08:00
dbaron@dbaron.org
8967a5c8bd 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+ 2008-02-10 13:49:24 -08:00
bzbarsky@mit.edu
8b8a07f4a7 Fix bug 416073: invalidate more things as needed during table reflow to prevent glitches. r+sr=roc 2008-02-08 01:36:32 -08:00
roc+@cs.cmu.edu
69d37e34c6 Remove unnecessary whitespace, triggering a build 2008-01-30 10:12:38 -08:00
fantasai.cvs@inkedblade.net
5ce5057857 patch hang for FFb3 b=414255 r+sr=roc 2008-01-29 21:48:42 -08:00
roc+@cs.cmu.edu
2032b542bf Bug 411870. nsBidiPresUtils needs to track the current line across block continuation boundaries. r=smontagu 2008-01-29 15:39:39 -08:00
dbaron@dbaron.org
b6cd4ed827 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+ 2008-01-28 23:40:05 -08:00
roc+@cs.cmu.edu
dea0868d56 Bug 411870 backout again 2008-01-28 11:10:26 -08:00
roc+@cs.cmu.edu
6ac78d0700 Bug 411870. Bidi resolution needs to scan through block continuations when tracking the current line for frames. r=smontagu 2008-01-28 10:16:22 -08:00
roc+@cs.cmu.edu
d0b43fea97 backing out 411870 2008-01-27 22:28:31 -08:00
roc+@cs.cmu.edu
1233a70df6 Bug 411870. Make bidi resolution track lines across block continuation boundaries. r=smontagu 2008-01-27 21:07:14 -08:00
fantasai.cvs@inkedblade.net
625892eb67 fix border/padding and availableHeight calculations at page/column breaks, b=368079 r+sr=roc a=roc 2008-01-23 16:28:42 -08:00
fantasai.cvs@inkedblade.net
9de679bfb3 backing out patch to bug 368079 to investigate reftest failure 2008-01-15 20:59:15 -08:00
fantasai.cvs@inkedblade.net
4b81524f7e fix border/padding and availableHeight calculations at page/column breaks, b=368079 r+sr=roc a=roc 2008-01-15 19:54:46 -08:00
roc+@cs.cmu.edu
677dfbe4d2 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
smontagu@smontagu.org
c2ccf0f7a0 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
vladimir@pobox.com
1f7f3e59ed 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
dholbert@cs.stanford.edu
fede2e1623 Whitespace-only change -- fixing too-little-indentation in two lines added from bug 385607. 2007-12-12 16:24:32 -08:00
dbaron@dbaron.org
c119e66f4c Fix comment describing nsBlockFrame. 2007-12-12 13:49:14 -08:00
roc+@cs.cmu.edu
cfe771c051 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
smontagu@smontagu.org
fdfed24896 Only try to process first-letter frames when they exist. Bug 404209, r+sr+b=roc 2007-12-05 00:15:15 -08:00
roc+@cs.cmu.edu
a05edceefa 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
roc+@cs.cmu.edu
f46bfbd93f 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
roc+@cs.cmu.edu
264008d558 Backing out unintentionally-checked in stuff 2007-12-04 18:12:40 -08:00
roc+@cs.cmu.edu
ea37d818bc 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
dmose@mozilla.org
a7aaa3bf1f Backing out fix for bug 392785 as per roc + mconnor. 2007-12-04 15:32:08 -08:00
roc+@cs.cmu.edu
a1bfe8ccdd 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
bzbarsky@mit.edu
6991247863 Relanding bug 403657, since there was no obvious perf impact 2007-12-03 13:31:26 -08:00
dholbert@cs.stanford.edu
49fa4d6678 Re-landing Bug 405517, after backing it out to look for Ts regression. (no regression found) 2007-12-03 12:41:24 -08:00
dholbert@cs.stanford.edu
b59516ee43 Backing out Bug 405517 to see if it causes a Ts regression 2007-12-03 11:34:45 -08:00
bzbarsky@mit.edu
e628936671 Backing out bug 403657 to see whether it causes the Ts regression 2007-12-03 10:32:51 -08:00
masayuki@d-toybox.com
db9a1f0734 Bug 392785 overflowed underline sometimes is not repainted at scrolling r+sr=roc, b1.9=dbaron 2007-12-02 22:51:57 -08:00
bzbarsky@mit.edu
764340917d Don't position bullets on empty list items too high. Bug 403657, r+sr=dbaron 2007-12-02 21:33:22 -08:00
dholbert@cs.stanford.edu
bf57d93119 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
roc+@cs.cmu.edu
c879238a00 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
roc+@cs.cmu.edu
cc4171d53e Backing out bug 375304 to fix reftest failures. 2007-12-01 03:49:13 -08:00
roc+@cs.cmu.edu
54e87ad4ef 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
mats.palmgren@bredband.net
f1fcdfee8f Propagate |aRemoveOnlyFluidContinuations| when removing continuations in other blocks. b=405178 r+sr=roc a=mtschrep 2007-12-01 02:47:58 -08:00
roc+@cs.cmu.edu
ff06dbce58 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
roc+@cs.cmu.edu
fa3ff59fd9 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
roc+@cs.cmu.edu
1b7dd2d6f3 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
bzbarsky@mit.edu
886b623f02 Fix bug 403134. r+sr=roc 2007-11-25 16:15:20 -08:00
dholbert@cs.stanford.edu
e042a678b0 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
bzbarsky@mit.edu
ac8234d604 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
roc+@cs.cmu.edu
e0ac0a1bc3 Backing out bug 375304 because of reftest failure 2007-11-11 19:40:27 -08:00
roc+@cs.cmu.edu
4da3232491 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
reed@reedloden.com
1d2c085173 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
reed@reedloden.com
c138e9a426 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
reed@reedloden.com
bb564a7d0b 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
dholbert@cs.stanford.edu
320468981b 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
dholbert@cs.stanford.edu
dd259dd796 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
fantasai.cvs@inkedblade.net
344d6b32b9 Fix StealFrame failure + crash, b=400223 r+sr=roc a=roc 2007-10-19 07:54:07 -07:00
roc+@cs.cmu.edu
32b36ae07b Bug 397518. Wrap inline non-MathML children of MathML frames in anonymous blocks. r+sr=bzbarsky 2007-10-12 01:30:54 -07:00
smontagu@smontagu.org
d5126a3713 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
bzbarsky@mit.edu
8c78ae026d 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
fantasai.cvs@inkedblade.net
669ff25ede crash due to improper overflow container frame deletion, b=393956, r+sr=roc 2007-10-10 15:09:53 -07:00
roc+@cs.cmu.edu
9cbcfce8a9 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
mats.palmgren@bredband.net
b26b967070 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
reed@reedloden.com
15b334ce41 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
reed@reedloden.com
9d691995f3 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
fantasai.cvs@inkedblade.net
678b52fb1e fix use of DEBUG-only data member, bug=154892 r+sr+a=roc 2007-10-02 01:29:23 -07:00