Commit Graph

599 Commits

Author SHA1 Message Date
Jonathan Kew
c1ada35300 bug 646983 - set the correct text length for the PropertyProvider. r=roc 2011-04-08 11:18:47 -07:00
Ehsan Akhgari
d37671f3bb Merge cedar into mozilla-central 2011-03-31 14:11:37 -04:00
Jonathan Kew
cec8fe19c4 bug 646561 - pass correct length to PropertyProvider in bidi case. r=roc 2011-03-31 09:47:01 +01:00
Jonathan Kew
d02d3f9d40 bug 418975 - support ­ when calculating min width for table and fieldset. r=roc. landing on the CLOSED TREE after dbaron went to bed :) 2011-03-24 15:22:37 +00:00
Masayuki Nakano
f64d945c8e Bug 59109 Part 3: Implement text-decoration-color and text-decoration-style rendering r=dbaron 2011-03-31 21:27:03 +09:00
Masayuki Nakano
1fcc166fb4 Bug 59109 Part 2: Cleaning up current text decoration implementation r=dbaron 2011-03-31 21:26:49 +09:00
864783aed9 Bug 615908 comparison between signed and unsigned integer expressions in UnhookTextRunFromFrames
r=mats
2011-03-28 16:49:26 -04:00
Ehsan Akhgari
df343e97b9 Back out bug 263359 because it has caused bug 645119 2011-03-25 18:15:29 -04:00
Simon Montagu
784fb0f475 Bug 263359 part 1.5: remove nsDirectionalFrame. 2011-03-24 11:28:44 +02:00
Simon Montagu
a6a686a9b6 Debugging code for Bidi resolution. NPOTDB 2011-03-24 11:28:44 +02:00
Simon Montagu
5ca1581f9b Don't create or delete frames when nsTextFrame::SetLength is called from bidi resolution. Bug 635329, r+a=roc 2011-02-21 10:02:23 +02:00
Jonathan Kew
6e5ba830c9 bug 631035 part 2 - optimize storage of tab widths. r+a=roc 2011-02-18 09:07:12 +00:00
Ehsan Akhgari
78b12c92c1 Bug 633044 - Special case empty text frames to position the caret at the correct position; r=roc a=blocking-final+ 2011-02-15 01:11:18 -05:00
Jonathan Kew
a6ed275646 bug 499292 - hide fallback text for a short time while a font downloads. r=jdaggett a=beltzner 2011-01-05 21:48:48 +00:00
Ehsan Akhgari
5313a2980f Bug 631406 - PeekOffsetNoAmount doesn't accept null as its second argument; r,a=roc 2011-02-03 19:52:46 -05:00
Mats Palmgren
8f57e8a9d6 Bug 597627 - Adding and removing lines in big textareas is really slow. r=roc a=blocking2.0:final 2011-01-28 22:08:41 +01:00
Alexander Surkov
511e5584a7 Bug 625652 - make sure accessible tree is correct when rendered text is changed, r=davidb, sr=roc, a=roc 2011-01-28 16:42:22 +08:00
Alexander Surkov
5d41370232 Bug 628922 - layout should use cached nsIAccessibilityService, r=davidb, sr=roc, a=roc 2011-01-28 12:38:14 +08:00
Jonathan Kew
45df9f3b1d bug 621918 - part 1 - eliminate aDirtyRect parameter from gfxTextRun::Draw etc. r=roc a=roc 2011-01-11 11:17:00 +00:00
Robert O'Callahan
83db9b61a3 Bug 602757. Part 5: Change HasText to GetComponentAlphaBounds. r=tnikkel,sr=dbaron,a=blocking 2011-01-03 14:48:09 +13:00
Robert O'Callahan
dae4557637 Bug 602757. Part 2: Detect display items over the transparent part of a window, and disable usage of component alpha (i.e., subpixel antialiasing) for those items. r=tnikkel,a=blocking 2011-01-03 14:48:09 +13:00
Jonathan Kew
a61771a0d9 bug 332636 - fix editor's handling of surrogate-pair combining marks with backspace. r=ehsan a=roc 2010-12-16 14:17:41 -08:00
Jonathan Kew
cc85587114 Backed out changeset 1958ebae93cc for causing mochitest orange. a=backout 2010-12-16 15:15:35 -08:00
Jonathan Kew
f1e3149240 bug 332636 - fix editor's handling of surrogate-pair combining marks with backspace. r=ehsan a=roc 2010-12-16 14:17:41 -08:00
Jonathan Kew
4d365e6d66 bug 607160 - check text length computations. r=roc a=blocking2.0 2010-11-25 15:36:53 +00:00
L. David Baron
941ad0d917 Don't propagate text-decoration in quirks-mode across inline-block, inline-table, and HTML table elements. Also, prepare quirks-mode text-decoration propagation code for use in standards mode (for bug 403524). (Bug 572713) r=roc a2.0=blocking 2010-11-21 15:50:28 -08:00
Simon Montagu
a9a26afeb9 Cache line breaks that are not in the current frame due to bidi resolution. Bug 595435, r=roc, a=blocker 2010-11-08 12:27:42 +02:00
Simon Montagu
1d2db75dbe Backout changeset 1dad59de62c4 due to test failures 2010-11-07 13:09:03 +02:00
Simon Montagu
314ca270a9 Cache line breaks that are not in the current frame due to bidi resolution. Bug 595435, r=roc, a=blocker 2010-11-07 11:56:25 +02:00
Ms2ger
5b3c3fa69e Bug 604078 - Two comparisons between signed and unsigned integers in nsTextFrame::PeekOffsetCharacter; r=ehsan a=bsmedberg 2010-11-04 16:43:01 -04:00
Ehsan Akhgari
01ed93b1a6 Bug 389321 - Part 3: Use a centralized algorithm for caret positioning; r=roc a=blocking-betaN+ 2010-08-31 14:54:44 -04:00
Mats Palmgren
8292a86fc8 Make sure mLastFlowIndex is within bounds after truncating the mapped flow count. b=605340 r+a=roc 2010-10-21 17:30:35 +02:00
Mats Palmgren
2037a545c2 Only keep the old textrun when the frame continuations from the assignment point forward are all empty. b=604843 r=roc a=blocking2.0:final 2010-10-21 17:30:34 +02:00
Mats Palmgren
3a37779341 Bug 571995. r=roc a=blocking2.0:final 2010-10-15 06:03:33 +02:00
Mats Palmgren
5673a1c930 Backout bug 571995. a=backout 2010-10-12 18:40:44 +02:00
Matt Woodrow
fbc97ba90b Bug 594983. Look inside display sublists to determine whether there is text for the layer. r=roc,a=blocking 2010-10-11 13:58:20 +13:00
Mats Palmgren
0f4d6d8b76 Just switch to the new textrun for empty text frames. b=571995 r=roc a=blocking2.0:final 2010-10-11 00:07:01 +02:00
Ehsan Akhgari
e1a7d557e8 Bug 602141 - Right arrow navigation broken on later contenteditable content on single line; r=bzbarsky a=blocking-final+ 2010-10-08 15:49:47 -04:00
L. David Baron
77b20c65b1 Change callers to use new nsIFrame overflow APIs. (Bug 542595, patch 20) r=roc a2.0=blocking2.0:beta8 2010-10-06 21:25:47 -07:00
L. David Baron
913a31cc5c Fix miscellaneous reflow methods to use new overflow area APIs. (Bug 542595, patch 19) r=roc a2.0=blocking2.0:beta8 2010-10-06 21:25:46 -07:00
L. David Baron
de0b6ebe1f Now that overflow areas are split, change nsIFrame::ComputeTightBounds to use visual overflow. While it really only needs to include frame bounds, glyph bounds, and text decorations, since glyph bounds are not part of scrollable overflow, it must use visual overflow. (Bug 542595, patch 15) r=roc a2.0=blocking2.0:beta8 2010-10-06 21:25:46 -07:00
L. David Baron
bfe49bf28e Make overflow from text frames be visual overflow only, and not scrollable. (Bug 542595, patch 8) r=roc a2.0=blocking2.0:beta8 2010-10-06 21:25:45 -07:00
Ehsan Akhgari
9c740c9b2b Bug 597333 - Crash [@ gfxTextRun::GetChar][@ nsIFrame::PeekOffset(nsPeekOffsetStruct*) ] when navigating inside a textarea; r=roc a=blocking-final+ 2010-09-20 17:33:58 -04:00
Ehsan Akhgari
f0e24f28bc Bug 240933 - Part 13: Consider text frame continuations containing only newlines editable; r,a=roc 2010-08-13 18:58:26 -04:00
Ehsan Akhgari
af5bd8ea2b Bug 240933 - Part 3.1: Position the selection before the terminating newline when clicking to the right of the line; r=roc a=dbaron 2010-07-16 17:34:36 -04:00
Ehsan Akhgari
6b782089be Bug 240933 - Part 3: Correct the caret movement throughout textareas (and pre elements with caret browsing turned on as well); r=roc a=dbaron 2010-07-13 21:49:16 -04:00
Ehsan Akhgari
0aac46c65b Back out bug 240933 and bug 590554 because of reftest failure on Win7 and also bug 593211 2010-09-02 19:54:23 -04:00
Ehsan Akhgari
03a3a84573 Bug 240933 - Part 13: Consider text frame continuations containing only newlines editable; r,a=roc 2010-08-13 18:58:26 -04:00
Ehsan Akhgari
d4f33f93ac Bug 240933 - Part 3.1: Position the selection before the terminating newline when clicking to the right of the line; r=roc a=dbaron 2010-07-16 17:34:36 -04:00
Ehsan Akhgari
1dfc80802d Bug 240933 - Part 3: Correct the caret movement throughout textareas (and pre elements with caret browsing turned on as well); r=roc a=dbaron 2010-07-13 21:49:16 -04:00