Commit Graph

186 Commits

Author SHA1 Message Date
Mats Palmgren
a55c2bc2b2 Take left border+padding into account when calculating distance from block edge for TAB. b=430926 r+sr=roc 2008-06-20 06:39:56 +02: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
f6f9ebc9f1 Don't try to include the selection area in our text-decoration overflow if we're not selected. Bug 429595, r+sr=roc, a=beltzner 2008-04-21 20:28:14 -07:00
079ac6c4fe Assert that the nsContinuingTextFrame is not a first continuation. Bug 414760, r+sr=roc 2008-04-21 00:17:04 -07:00
8c30115677 Bug 428846 Using underline hint at painting the strikeout line of Quirks mode r+sr=roc, a1.9=beltzner 2008-04-14 23:47:59 -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
f034354436 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
f8d6188909 Bug 421353 - "Moving the mouse over text hyperlinks which become underlined spikes cpu usage" (Fix incorrect use of units in previous patch) [p=reg@openpave.org (Jeremy Lea) r+sr=roc a1.9=beltzner] 2008-04-04 02:19:02 -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
21ee1345f3 Bug 422394. Fix tab width calculation so we never fail to advance. r=smontagu 2008-03-17 18:48:22 -07:00
67c30a40e8 Bug 404140. Avoid assertions about comparing line iterators from different lists by comparing nsLineBox* pointers. r+sr=dbaron 2008-03-14 01:12:25 -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
83fa94c839 Bug 392809. Fix word-based caret movement around punctuation and whitespace. r=smontagu,a=beltzner 2008-03-03 00:37:34 -08:00
bbbc01a0d1 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
16b969f98d Bug 419531. Don't wipe out stored tab widths during text intrinsic size calculation. r+sr=dbaron 2008-02-27 01:29:46 -08:00
1505e945c5 switch GetOverflowAreaProperty callers to GetOverflowRect b=417116 r+sr=roc a=roc 2008-02-19 23:08:55 -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
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
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
8f79f10e00 Bug 411792. Never put a line break before a preformatted newline. r=smontagu 2008-01-26 23:48:39 -08:00
5839f8474f Update the content offset for existing non-fluid continuations when creating a next-in-flow. b=406380 r+sr=roc a=blocking1.9 2008-01-04 09:09:35 -08:00
3a9eaf107e Bug 407889. Reduce dynamic memory allocations during event handling by having nested invocations of HitTest share a single buffer for reordering display items; this buffer is an nsAutoTArray so it's mostly stack-allocated. r+sr=mats 2008-01-03 18:08:29 -08:00
27e6b94efa Backing out bug 406380 to fix reftest failure. 2007-12-31 03:32:07 -08:00
be4aef7083 Update content offset for all next-continuations, not just fluid ones. b=406380 r+sr=roc a=blocking1.9 2007-12-31 02:29:20 -08:00
cb33778c9a Bug 405248 - Space between embedded objects characters is missing r=aaronleventhal a=mtschrep 2007-12-19 04:57:08 -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
033a79f101 Make sure that the offsets in a textframe are up-to-date before creating a bidi continuation. Bug 406675, r=uriber, sr=roc, blocking1.9=schrep 2007-12-12 23:51:27 -08:00
2a6e806f11 Bug 407078. Don't allow a trailing break in a text run that is followed by a <br>. r=smontagu 2007-12-10 17:19:20 -08:00
9cbb0c0c57 Bug 407155. Backing out 392809 to fix regressions. a=schrep 2007-12-07 01:35:44 -08:00
650789ad0a Bug 407227. Include end-of-linebreaker-textrun break opportunity in min-width calculation. r+sr=dbaron,a=schrep 2007-12-06 19:27:01 -08:00
23aee74435 Bug 407227. Include end-of-linebreaker-textrun break opportunity in min-width calculation. r+sr=dbaron,a=schrep 2007-12-06 19:16:07 -08:00
de75a021a6 Bug 405577. Allow available width to go negative for inlines/text, so we can tell whether zero-width content fits or not. Also allow textframes to honour a forced break at the end of the text. r+sr=dbaron 2007-12-05 17:24:03 -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
fd863397a0 Bug 403426. We should clear whitespace status when we reset the linebreaker. If a final break opportunity exists we should save it and forward it to the line layout. Relanding with a fix so hopefully we won't crash Tp this time. r=smontagu 2007-12-03 00:22:07 -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
32937d35ee Relanding bug 404624 because it was not, in fact, responsible for that assert 2007-12-02 20:18:37 -08:00
14f1ad1f41 Backing out fix for bug 404624 because I think it's causing a mochitest to assert 2007-12-02 18:20:22 -08:00
4dc78fe117 Relanding fix for bug 404624 because it had no effect on Tp 2007-12-02 17:42:52 -08:00
bad70ffbd7 Backing out bug 404624 to see if it fixed Tp regression on bl-bldxp01 2007-12-02 12:47:41 -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
6703d78120 Backing out bug 403426 2007-11-30 12:52:24 -08:00
7f47758370 Bug 403426. Clear break-after-whitespace flags when we reset the linebreaker. Also rescue a trailing break opportunity when we reset the line breaker and notify the line layout that the opportunity exists. r=smontagu 2007-11-30 12:03:33 -08:00