Commit Graph

599 Commits

Author SHA1 Message Date
Robert O'Callahan
224bb91787 Bug 504524. Don't reflow the line after an incomplete frame unless we really need to. r=bz 2009-10-19 01:01:40 -07:00
Robert O'Callahan
9d5b5ae49a Bug 513082. Instead of passing aDirtyRect to nsDisplayItem::Paint, have nsDisplayList::OptimizeVisibility (renamed to ComputeVisibility) compute the intersection of the visible region with the bounds of each display item and store the result in the item's mVisibleRect. This lets us do less work to paint display items which have a small intersection with the visible region but a large intersection with the bounding-box of the visible region. r=dbaron 2009-09-07 12:35:14 +12:00
Geoff Lankow
c222694ceb Bug 517882: Implement a -moz-tab-size CSS property that specifies the number of spaces between tab stops in preformatted text. r=roc, dbaron 2009-09-26 13:23:47 -07:00
Michael Ventnor
9a468033db Bug 512988 - Text-shadow blur and underline messes up with padding-left. r+sr=roc 2009-09-18 20:18:35 +02:00
Mats Palmgren
927c863e0b Bug 233463, patch 4 - Make nsIFrame::mNextSibling private. r=bzbarsky 2009-09-18 13:09:36 +02:00
Mats Palmgren
f82eedba5a Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX. b=512106 r=roc 2009-09-16 17:01:36 +02:00
Zack Weinberg
b6fe8205dd Bug 497495 part 3: Add methods to every nsFrame subclass that expose the as-allocated identity of every frame object. Also some cleanups to the QueryFrame implementation. r=dbaron sr=roc 2009-09-12 17:49:24 +01:00
Dão Gottwald
77730b0314 Backed out changeset 1e6d52401dd2 2009-09-04 15:32:17 +02:00
Michael Ventnor
b40db5e2d3 Bug 512988 - Text-shadow blur and underline messes up with padding-left. r+sr=roc 2009-09-04 14:24:26 +02:00
Robert O'Callahan
89819c587c Bug 503657. Treat a newline character as a valid boundary for line breaking analysis. r=smontagu 2009-09-02 14:46:48 +12:00
Robert O'Callahan
040feffe92 Bug 503399. Never count trimmed trailing whitespace as whitespace that should received justification spacing; in this case we were using doing that when computing caret position. r=smontagu 2009-09-02 14:46:48 +12:00
Boris Zbarsky
04339b5ad4 Bug 478504. Need to clear textruns in bidi continuations too. r=roc 2009-09-02 11:32:01 -04:00
fantasai
70fe082226 Bug 492627 - Remove Placeholder Continuations [Part IV: Switch float layout APIs to pass float directly, without placeholder] r=roc 2009-08-31 11:25:35 -07:00
Masayuki Nakano
557db29753 Bug 486735 Verdana.ttf gets a very thick underline with spelling errors r=dbaron+jboriss 2009-08-20 23:33:06 +09:00
Masayuki Nakano
19905ea113 Bug 509956 Bogus code in nsTextFrame::IsFloatingFirstLetterChild r=dbaron 2009-08-18 13:46:47 +09:00
aaf0012642 Bug 506251 BuildTextRunsScanner::AssignTextRun does not use lastContent
r=roc
2009-08-12 11:49:54 +02:00
Robert O'Callahan
df991f8e69 Backed out changeset 77787eb64629 2009-08-05 17:33:17 +12:00
Robert O'Callahan
81abc4b577 Bug 504524. Don't reflow the line after an incomplete frame unless we really need to. r=bz 2009-08-05 14:38:52 +12:00
Robert O'Callahan
2684e99e48 Bug 504524. Change signature of nsIFrame: of nsIFrame::CharacterDataChanged to support passing of the full CharacterDataChangeInfo struct. r=bz 2009-08-05 13:38:10 +12:00
Robert O'Callahan
920d381077 Bug 492309. Remove useless gfxTextRuNnFactory flags. r=vlad 2009-07-30 14:59:41 +12:00
Robert O'Callahan
46dd2efbdd Bug 371839. Remove ParentDisablesSelection, which is effectively unused. r=bzbarsky 2009-07-27 10:06:30 +12:00
Robert O'Callahan
4c8901bcd6 Bug 371839. Simplify SetSelected signature and semantics, and reimplement it in nsTextFrame much more efficiently. r=bzbarsky 2009-07-27 10:05:41 +12:00
Robert O'Callahan
7fb1a6c1ba Bug 371839. Assertions that scan all continuations should bail out if the continuation chain is too long, so they don't add O(N) to algorithmic complexity. r=bzbarsky 2009-07-10 14:03:03 +12:00
Masayuki Nakano
efb019dbac Bug 486778 Spell checker's wavy line is sometimes drawn through misspelled words r+sr=roc 2009-07-01 01:52:16 +09:00
Robert O'Callahan
1e77c78f28 Bug 500556. Split FRAMETREE_DEPENDS_ON_CHARS bit into NS_CREATE_FRAME_IF_NON_WHITESPACE and NS_REFRAME_IF_WHITESPACE so we don't need to reframe for every data change. r+sr=bzbarsky 2009-06-29 10:48:24 +12:00
Timothy Nikkel
0dcfdeae73 Bug 458651. Text hidden with 'blink' should still receive events. r+sr=roc 2009-06-24 21:09:26 +12:00
Robert O'Callahan
af0781e094 Bug 491960. Only reflow due to selection if we did or will have overflowing selection decorations. r=dbaron 2009-05-15 15:09:49 +12:00
Masayuki Nakano
0f019524a2 Bug 492233 [IMM32] Reimplement IME mouse handling r=VYV03354+roc, sr=roc 2009-05-15 09:46:24 +09:00
Simon Montagu
7bcc5d7944 Clear previous continuation's text run when destroying a continuation text frame. Bug 490747, r+sr=roc 2009-04-30 23:55:59 -07:00
Masayuki Nakano
ec1b9e13de Bug 482138 [TSF] nsTextFrame has to draw composition string by TIP specified style r+sr=roc 2009-04-23 12:27:12 +09:00
Boris Zbarsky
df9eadc79b Bug 484448. Fix handling of whitespace kids of table-related frames. r=bernd, sr=roc 2009-04-08 12:56:16 -04:00
Boris Zbarsky
ab4638fb35 Backed out changeset 0ea22856b5d9 (bug 484448). 2009-04-08 15:56:43 -04:00
Boris Zbarsky
89b6d633ea Bug 484448. Fix handling of whitespace kids of table-related frames. r=bernd, sr=roc 2009-04-08 12:56:16 -04:00
Masayuki Nakano
3c52796fc8 Bug 486708 Should lift up selection underline as far as possible if it overflows from the descent space r+sr=roc 2009-04-06 14:53:00 +09:00
Jonathan Kew
ccbd2d2564 Bug 475968. Eliminate NS_FRAME_OUTSIDE_CHILDREN flag, store small overflow areas cheaply within the frame. r+sr=roc 2009-04-06 12:31:50 +12:00
Masayuki Nakano
202351fbc8 Bug 338209 Make spellchecker use thicker wavy underlines instead of dotted underlines r+sr=roc 2009-04-03 16:26:28 +09:00
Olli Pettay
cbbd7f1a1b Bug 482976 - Crash [@ nsTextFrame::Reflow] on print preview with quote, r+sr=roc 2009-03-18 12:45:00 +02:00
Arpad Borsos
67a98b077f Bug 481881 - use better template arguments for nsTArray<T> after bug 474369, layout part; r+sr=roc 2009-03-12 08:26:29 +01:00
Karl Tomlinson
3509c4e0ce backout dac7c3176b33 from bug 481881 2009-03-11 17:09:22 +13:00
Arpad Borsos
3ef565c040 Bug 481881 - use better template arguments for nsTArray<T> after bug 474369, layout part r+sr=roc 2009-03-11 15:26:36 +13:00
Olli Pettay
41da564f16 Bug 425265, r=roc, sr=bz 2009-03-08 21:01:02 +02:00
Jonathan Kew
fe09ec4b0e Bug 479276. Support a new kind of glyph bounding-box: TIGHT_HINTED_OUTLINE_EXTENTS, and use it to stop MathML spacing depending on exact ink extents. r+sr=roc 2009-02-24 21:32:58 +13:00
Robert O'Callahan
ae5c4593cd Bug 472776. Don't accidentally clear TEXT_IN_TEXTRUN_USER_DATA after we just set it. r=smontagu 2009-02-24 21:27:48 +13:00
Mats Palmgren
36ce158c8a Keep track of the line container and forget the current line if it's for a different container. b=444027 r+sr=roc 2009-02-10 10:23:05 +01:00
Jonathan Kew
35e8f4017c Bug 476378. Use U+002D instead of U+2010 for a soft hyphen if the first font in the fontgroup doesn't have a glyph for U+2010. r+sr=roc 2009-02-05 21:23:50 +13:00
Arpad Borsos
af5c52fa8a Bug 474369 - get rid of nsVoidArray; layout part; r+sr=roc 2009-02-03 15:42:18 +01:00
Michael Ventnor
8d8b00c8e5 Bug 472410. Don't adjust selection colors if the background is a -moz-appearance that we can't know anything about. r+sr=roc 2009-01-09 13:29:38 +13:00
Robert O'Callahan
2b6c530588 Bug 430332. Defer nsTransformingTextRun::RebuildTextRun until the linebreaker has completely set up the break and capitalization data on the transformed text run. r=smontagu 2009-01-09 13:23:28 +13:00
Robert O'Callahan
20d1ee5ea3 Bug 440149. Don't break after empty text at the start of the line, even if we're past the available width. r=smontagu 2009-01-09 13:13:45 +13:00
Robert O'Callahan
6e8a5ef179 Bug 429968. Handle situations where first-letter text detects first-letter style should not be applied, by creating a zero-length 'first letter'. r+sr=dbaron 2009-01-05 13:36:56 +13:00