Commit Graph

67 Commits

Author SHA1 Message Date
Robert O'Callahan
f9d2d59b5e Bug 465928. Avoid SetInvalidateTextRuns being called by nsBlockFrame::DoRemoveFrame when we're just deleting empty continuation frames. r+sr=dbaron 2008-12-03 14:27:19 +13:00
L. David Baron
16009115b3 Use larger values for no-minimum and no-maximum so that we don't cross them. (Bug 466395) r+sr=roc a191=beltzner 2008-11-27 20:08:32 -08:00
Robert O'Callahan
a550f0f631 Bug 428263. Don't treat continuations of blocks as 'continuations' for setting zeroEffectiveSpanBox, since they're not span-continuations which is all we care about here. r+sr=dbaron 2008-10-16 09:57:27 +13:00
Robert O'Callahan
4d9c5e19b6 Bug 441259. Account for trimmable width when deciding whether we can place a float on the line. Also, only try to place a float at a point where we can have a line break. r+sr=dbaron 2008-08-12 21:29:35 +12:00
Robert O'Callahan
8a3235feed Bug 406299. Make sure we include the font ascent/descent of a soft hyphen if there is one. r+sr=dbaron 2008-08-12 21:18:23 +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
Zack Weinberg
3197060cbd Delete nsLayoutUtils::GetAbsoluteCoord(); fold logic into callers and simplify. (Bug 437335) r+sr=dbaron 2008-07-17 16:37:12 -07:00
Robert O'Callahan
5cc4ce74b7 Bug 439004. Check whether there's logically empty content already placed on the line instead of just checking whether the line has advanced horizontally. r+sr=dbaron. 2008-06-14 20:28:07 +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
ed7aeb1742 Make top and bottom values of vertical-align align the subtree rather than the element itself. (Bug 118501) r+sr=roc 2008-06-06 09:26:58 -07:00
L. David Baron
74ccc4156f Use PlaceTopBottomFrames for the children of the root span, too. (Bug 118501) r+sr=roc 2008-06-06 09:26:58 -07:00
masayuki@d-toybox.com
01c805af57 Bug 426772 Floated first-letter generates too tall box r+sr=roc, a1.9=beltzner 2008-04-11 01:44:58 -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
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
roc+@cs.cmu.edu
8dfb75f0cd Bug 420351. Don't let empty list-bullets make a line non-empty. r+sr=dbaron 2008-03-11 17:46:18 -07:00
roc+@cs.cmu.edu
b099594232 Backing out 420351 2008-03-11 03:44:32 -07:00
roc+@cs.cmu.edu
65180d9a75 Bug 420351. Empty bullets cannot make a line non-empty. r+sr=dbaron 2008-03-11 00:36:03 -07:00
roc+@cs.cmu.edu
407f4669ea Bug 261081. Support official 'pre-wrap' value for CSS 'white-space' since we already support it well as '-moz-pre-wrap'. r+sr=dbaron,a=schrep 2008-02-19 18:07:48 -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
roc+@cs.cmu.edu
643d92dcbe Bug 400813, check in the right version of the patch 2008-02-14 02:03:01 -08:00
roc+@cs.cmu.edu
b278a54a54 Bug 400813. Text with font-size:0 should not make a line be treated as empty. r+sr=dbaron 2008-02-14 01:08:33 -08:00
roc+@cs.cmu.edu
79bbde3785 backing out bug 400813 again due to reftest failure... 2008-02-11 18:48:17 -08:00
roc+@cs.cmu.edu
4251201001 Bug 400813. Lines with font-size:0 content should not be treated as empty. r+sr=dbaron 2008-02-11 17:42:14 -08:00
dholbert@cs.stanford.edu
ff6c52fcbe Bug 412607: Fix wrapping issue by clearing trimmable width before trying CanPlaceFrame. r+sr=roc, a=blocking1.9 2008-02-07 15:00:37 -08:00
roc+@cs.cmu.edu
dada6c8a8d Backing out 400813, sigh 2008-01-29 23:35:05 -08:00
roc+@cs.cmu.edu
81d839b21e Bug 400813. Lines with actual content that just happens to be zero-width should be treated as non-empty. r+sr=dbaron 2008-01-29 23:12:26 -08:00
uriber@gmail.com
764bd927ef Fix bullet positioning for justified RTL list items. bug=410503 r=smontagu sr=roc a1.9=dsicore 2008-01-04 02:22:38 -08:00
dbaron@dbaron.org
18cb1751a3 Remove unused height output from nsLineLayout::EndSpan. b=407086 r+sr=roc a=dsicore 2007-12-12 13:51:18 -08:00
dbaron@dbaron.org
67bbbda580 Remove some code that handles unconstrained widths (and fix nsFirstLetterFrame not to pass them). b=407086 r+sr=roc a=dsicore 2007-12-12 13:51:00 -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
roc+@cs.cmu.edu
d060406782 Bug 407111. Correctly set whether a break opportunity after non-text content fits. r+sr=dbaron,a=schrep 2007-12-07 01:17:19 -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
dmose@mozilla.org
a7aaa3bf1f Backing out fix for bug 392785 as per roc + mconnor. 2007-12-04 15:32:08 -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
roc+@cs.cmu.edu
1a6bd11ee8 Bug 399531. Rework TrimTrailingWhitespace so that we recompute the overflow area for trimmed textframes and so that soft hyphens in otherwise-empty textframes are activated. r+sr=dbaron 2007-12-01 01:24:24 -08:00
reed@reedloden.com
9f430aad1b Bug 404636 - "Building without SVG fails" [p=romaxa@gmail.com (romaxa) r+sr=roc a1.9=schrep] 2007-11-21 13:09:12 -08:00
roc+@cs.cmu.edu
6a0c55fe89 Bug 402950. Allow spans to always be placed on a line, because part of the span may fit even if the whole span doesn't. Also request backup earlier so we always backup if we decline to place a frame. r+sr=dbaron 2007-11-18 13:36:18 -08:00
jwatt@jwatt.org
4d976af81a Fixing bug 294086. <svg> should be a replaced element. r+sr=dbaron@mozilla.com blocking1.9=tor@acm.org 2007-11-18 04:09:03 -08:00
dbaron@dbaron.org
579235bed6 Rename new width keywords to match CSS WG decision. b=402706 r+sr=bzbarsky a=blocking1.9+ 2007-11-15 10:10:31 -08:00
reed@reedloden.com
d0eb65c981 Bug 400369 - "List markers (bullets) positioned incorrectly for left- and center-aligned list items in RTL lists" [p=uriber@gmail.com (Uri Bernstein) r=smontagu sr+a1.9=roc] 2007-11-08 23:49:56 -08:00
reed@reedloden.com
496329b8c8 Bug 402338 - "outline property on inline-block painted too far outside" [p=roc r+sr=dbaron a=blocking1.9+] 2007-11-08 22:49:38 -08:00
roc+@cs.cmu.edu
7a31877544 Bug 393096. Allow an element containing breakable whitespace to introduce a break opportunity no matter what the context. Also cleans up some trimming stuff and adds comprehensive whitespace breaking and trimming reftests. r+sr=dbaron 2007-10-20 00:30:26 -07:00
roc+@cs.cmu.edu
ccb6bf3bdb Bug 392829. Clean up nsLineLayout code that's not used (or at least used differently). r+sr+a=dbaron 2007-10-01 19:36:26 -07:00
roc+@cs.cmu.edu
bfd939088e Bug 96041. Compute precise glyph extents for high-quality text, and when requested. r=vlad,r+sr=dbaron 2007-09-23 19:19:14 -07:00
roc+@cs.cmu.edu
c11d00e32d Backing out due to test bustage 2007-09-22 06:28:16 -07:00
roc+@cs.cmu.edu
d72a839c93 Bug 96041. Compute true glyph bounding metrics. r=vlad,dbaron,sr=dbaron 2007-09-22 05:43:52 -07:00
roc+@cs.cmu.edu
d2b3404ed9 Bug 385270. Clean up textframe offset invariants: try #2 --- mContentLength no longer exists/is no longer trusted. r=smontagu,a=dbaron 2007-08-15 11:39:38 -07:00