Commit Graph

481 Commits

Author SHA1 Message Date
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
Boris Zbarsky
076efa79d7 Bug 580167 part 1. Create an nsTextFrame::ReflowText that doesn't need a reflow state. r=dbaron 2010-08-25 14:54:46 -04:00
Robert O'Callahan
c03744476d Bug 581222. Extend gfxAlphaBlur to support "spread radii". r=vlad 2010-08-23 21:30:07 +12:00
Robert O'Callahan
b2f6635dcb Bug 584282. Use nsDisplayItem::ToReferenceFrame() instead of calling nsDisplayListBuilder::ToReferenceFrame, wherever possible. r=tnikkel,a=dbaron 2010-08-13 22:01:58 +12:00
Robert O'Callahan
6994544c46 Bug 584282. Add nsDisplayItem::mToReferenceFrame and initialize it in the constructor. r=tnikkel,a=dbaron 2010-08-13 22:01:13 +12:00
Robert O'Callahan
135f075a26 Bug 585817. Part 2: Change nsIPresShell::CreateRenderingContext to GetReferenceRenderingContext, that uses the shared 1x1 surface, and use it all over the place. r=mats,sr=dbaron 2010-08-20 14:29:01 -05:00
Chris Jones
152e207725 Backed out changeset 7b3726c3a580 2010-08-19 19:04:08 -05:00
Robert O'Callahan
3a761f8df9 Bug 585817. Part 2: Change nsIPresShell::CreateRenderingContext to GetReferenceRenderingContext, that uses the shared 1x1 surface, and use it all over the place. r=mats,sr=dbaron 2010-08-19 13:49:35 -05:00
Ehsan Akhgari
53f6102bdc Bug 580869 - Cache the frame found in nsTextFrame::GetChildFrameContainingOffset; r=roc approval2.0=dbaron 2010-08-10 11:16:17 -04:00
Kyle Huey
c9fde5bbd2 Bug 575043: Remove internal uses of nsICaseConversion. r=smontagu sr=roc 2010-07-29 12:22:16 -07:00
Boris Zbarsky
bcec6fe8b6 Bug 441669. Look for our flow by starting at the cached location and moving out, instead of always searching in one direction and then in the other. r=roc 2010-07-19 11:55:19 -04:00
Michael Ventnor
c40f8edbb0 Bug 564991. Part 3: Create unique nsDisplayItem types for every single display item. r=tnikkel 2010-07-16 09:07:49 +12:00
Alexander Surkov
0a6b10381a Bug 573706 - make frame based accessible creation more pellucid, r=davidb, sr=roc 2010-06-28 21:02:03 +09:00
Henri Sivonen
fe1d1e38f1 Bug 534071 - Treat carriage returns as tab-like whitespace in layout. r=roc. 2010-05-12 10:57:12 +03:00
Daniel Holbert
4ed9eaadf9 Bug 571059: Update debugging printfs to treat nsFrameState objects as 64-bit & fix build warnings. r=dbaron 2010-06-10 11:26:57 -07:00
L. David Baron
dd7ed68b11 Use macros for frame state so that it's easy to change the size and easier to read the constants. (Bug 570837) r=roc 2010-06-08 22:28:14 -07:00
Simon Montagu
bcb0812137 Back out change from bug 399850 that causes an assertion to fire 2010-05-12 23:34:42 -07:00
Simon Montagu
c7ccb0110b Don't split frames in bidi resolution that have the same resolved directionality but different character types. Bug 399850, r=ehsan, roc 2010-05-10 23:14:05 -07:00
Boris Zbarsky
cd27fc6a1c Bug 562971. Include Element.h as mozilla/dom/Element.h and don't use 'using namespace' quite as much. r=jst 2010-05-05 14:18:05 -04:00