Commit Graph

455 Commits

Author SHA1 Message Date
Zack Weinberg
0761467047 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
142967adaf 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
150c4b66e1 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
cd6776c3e4 Backing out text-shadow due to Mac issues 2008-06-12 17:32:31 +12:00
Michael Ventnor
0783f3a97a Implement text-shadow rendering. 2008-06-12 14:34:40 +12:00
Robert O'Callahan
221d348cf2 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
6214d3c56e 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
343d23f131 Use PlaceTopBottomFrames for the children of the root span, too. (Bug 118501) r+sr=roc 2008-06-06 09:26:58 -07:00
78cce7d754 Bug 426772 Floated first-letter generates too tall box r+sr=roc, a1.9=beltzner 2008-04-11 01:44:58 -07:00
baa3322b40 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
516d9d37b4 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
a0a4fca2b8 Bug 420351. Don't let empty list-bullets make a line non-empty. r+sr=dbaron 2008-03-11 17:46:18 -07:00
6bd5d738a4 Backing out 420351 2008-03-11 03:44:32 -07:00
51d82506be Bug 420351. Empty bullets cannot make a line non-empty. r+sr=dbaron 2008-03-11 00:36:03 -07:00
b57634485c 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
3142e26930 Bug 392785 overflowed underline sometimes is not repainted at scrolling r+sr=roc b1.9=dbaron 2008-02-16 07:31:27 -08:00
c626bf22bb Bug 400813, check in the right version of the patch 2008-02-14 02:03:01 -08:00
f7172548d9 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
38ba4ad470 backing out bug 400813 again due to reftest failure... 2008-02-11 18:48:17 -08:00
64c01fef14 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
06b53a561f 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
d5ab90aa4d Backing out 400813, sigh 2008-01-29 23:35:05 -08:00
44406d9613 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
e329e9cf59 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
a975e6bc93 Remove unused height output from nsLineLayout::EndSpan. b=407086 r+sr=roc a=dsicore 2007-12-12 13:51:18 -08:00
6250167cb2 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
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
1d4987f63e 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
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
6aa9b580c3 Backing out fix for bug 392785 as per roc + mconnor. 2007-12-04 15:32:08 -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
262755e9a3 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
204cd6e621 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
b98c764621 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
90600adc23 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
2176d67e34 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
8a5dd026a5 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
9a2e90b167 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
033a5461ee 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
b72107a865 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
621176fa35 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
479f8c2dbb Backing out due to test bustage 2007-09-22 06:28:16 -07:00
23a473ccb6 Bug 96041. Compute true glyph bounding metrics. r=vlad,dbaron,sr=dbaron 2007-09-22 05:43:52 -07:00
3796520edb 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
8f9e2eba49 Backing out 2007-08-15 09:20:46 -07:00
e5c63d2437 Bug 385270. Clean up textframe offset invariants: try #2 --- mContentLength no longer exists/is no longer trusted. r=smontagu,a=dbaron 2007-08-15 09:04:17 -07:00
01bb74082a Backing out patches for bug 385270 (mostly --- due to other checkins in the meantime, the GetContent*() helper functions need to stay) to fix regressions. a=schrep 2007-07-30 16:56:14 -07:00
753e3b011a Bug 385270. Remove unnecessary (hopefully) bidi offset adjustment; the offsets will get fixed by a later reflow. r+sr=dbaron 2007-07-23 20:48:10 -07:00
98de634631 Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
7ab3c4dff5 Bug 285608: hangs when page with float printed. r+sr=roc. 2007-06-27 09:35:31 -07:00