Commit Graph

410 Commits

Author SHA1 Message Date
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
Boris Zbarsky
e708accf00 Bug 562688 part 11. Eliminate eELEMENT usage in layout/generic. r=dbaron 2010-04-30 09:12:06 -04:00
David Baron
2ade658662 Bug 502301 - fix C++0x narrowing conversion inside {} compilation errors [r=benjamin] 2010-04-20 10:41:21 +02:00
Michael Ventnor
21516fafe0 Bug 544099 - Highly optimise -moz-box-shadow for common cases by allowing layout to specify an area where blurring is not needed r=roc,joe 2010-04-18 13:13:10 +10:00
Masayuki Nakano
58fb9c9575 Bug 556694 Selection color isn't reverted when input field is specified only background-color r=dbaron 2010-04-08 21:44:57 +09:00
Felipe Gomes
6f9c5ea1d9 Bug 489127 - nodesFromRect required for better usability on mobile devices (part 1+2) [r=roc] 2010-04-07 20:31:26 -04:00
Masayuki Nakano
7fb5eb6e15 Bug 183646 ::-moz-selection does not work in form controls (input[type=text], input[type=password], textarea) r=dbaron 2010-04-07 11:10:54 +09:00
Masayuki Nakano
c81cc9fc87 Bug 552493 Hang on select-all in large textbox (which repeats if I unfocus & focus Firefox) r=roc 2010-04-06 18:01:53 +09:00
L. David Baron
8a8f78a7b9 Use the appropriate color based on visitedness for the 'background-color' property. (Bug 147777) r=zweinberg 2010-04-02 18:58:26 -07:00
L. David Baron
783f8b1b4a Use the appropriate color based on visitedness for the 'color' property. (Bug 147777) r=roc 2010-04-02 18:58:25 -07:00
Masayuki Nakano
af51af1a23 Bug 554822 Caret should refer the actual text color instead of the value of CSS color property r=roc 2010-04-01 11:35:48 +09:00
Masayuki Nakano
088a5ea83d Bug 554822 backout the previous patch 2010-04-01 02:31:06 +09:00
Masayuki Nakano
8efd003cb0 Bug 554822 Caret should refer the actual text color instead of the value of CSS color property r=roc 2010-04-01 02:12:43 +09:00
Robert O'Callahan
a81de51fc9 Bug 551660. Switch layout code from using nsPropertyTable to FramePropertyTable. r=mats,sr=dbaron 2010-03-29 14:46:55 +13:00
Robert O'Callahan
a27bbfcf55 Bug 549184. Track 'has nonempty content been placed on this line yet' separately from 'has nonempty, non-span content been placed on this line yet'. r=dbaron 2010-03-10 13:14:14 +13:00
Jonas Sicking
6859a5ac8e Bug 534136 Part 2: Use 16bit-char buffers inside atoms. r=bz sr=mrbkap 2010-03-08 07:45:00 -08:00
Robert O'Callahan
6ff1d055fe Bug 499862. Need to flush out linebreaker stuff even if there are no mapped flows. r=smontagu 2010-02-23 23:23:45 -08:00
Robert O'Callahan
f81d74ec65 Bug 546530. Bound search for previous cluster start. r=smontagu 2010-02-19 14:30:43 +13:00
Jonathan Kew
6fc148747f Bug 524107 - part 1 - pass original value of 'lang' to gfx text code rather than only a 'langGroup' value, to allow language-specific font rendering. r=roc sr=mats 2010-02-24 09:57:44 -08:00
Serge Gautherie
2dc64cb7bc Backed out changeset: b3d6a8724029 of
Bug 544099 - Allow shadow blurring to skip areas where blurring is unnecessary; Patch 3.1.
which breaks comm-central.
2010-02-04 20:55:10 +01:00
Michael Ventnor
3560539cf0 Bug 544099 - Allow shadow blurring to skip areas where blurring is unnecessary; Patch 3.1.
r=roc.
2010-02-04 19:15:03 +01:00
Robert O'Callahan
7754d9a595 Bug 539720. Initialize cachedNewlineOffset. r=bz 2010-02-02 12:17:17 +13:00