Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(19)

Unified Diff: LayoutTests/platform/win/editing/selection/extend-by-word-002-expected.txt

Issue 26315006: Avoid creating first-letter RenderTextFragments for unsuitable text nodes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/platform/win/editing/selection/extend-by-word-002-expected.txt
diff --git a/LayoutTests/platform/win/editing/selection/extend-by-word-002-expected.txt b/LayoutTests/platform/win/editing/selection/extend-by-word-002-expected.txt
index 3fb3b57a509b90a1374dd7e4399ed3b3357d2cba..7aa0b30d379e008b168385552bd7ecf8e2c854cf 100644
--- a/LayoutTests/platform/win/editing/selection/extend-by-word-002-expected.txt
+++ b/LayoutTests/platform/win/editing/selection/extend-by-word-002-expected.txt
@@ -16,59 +16,65 @@ layer at (0,0) size 800x600
RenderBlock {UL} at (14,14) size 120x138
RenderListItem {LI} at (0,0) size 120x21
RenderListMarker at (-14,6) size 5x12: bullet
- RenderInline (generated) at (0,0) size 14x25
- RenderText {#text} at (5,-5) size 14x25
- text run at (5,-5) width 14: "\x{B7} "
- RenderText {#text} at (0,0) size 0x0
- RenderInline {A} at (0,0) size 58x12 [color=#0000EE]
- RenderText {#text} at (19,6) size 58x12
- text run at (19,6) width 58: "Appetizers"
+ RenderText {#text} at (5,6) size 8x12
+ text run at (5,6) width 8: "\x{B7} "
+ RenderInline {A} at (0,0) size 65x12 [color=#0000EE]
+ RenderInline (generated) at (0,0) size 14x25
+ RenderText {#text} at (13,-5) size 14x25
+ text run at (13,-5) width 14: "A"
+ RenderText {#text} at (27,6) size 51x12
+ text run at (27,6) width 51: "ppetizers"
RenderListItem {LI} at (0,21) size 120x21
RenderListMarker at (-14,6) size 5x12: bullet
- RenderInline (generated) at (0,0) size 14x25
- RenderText {#text} at (5,-5) size 14x25
- text run at (5,-5) width 14: "\x{B7} "
- RenderText {#text} at (0,0) size 0x0
- RenderInline {A} at (0,0) size 86x12 [color=#0000EE]
- RenderText {#text} at (19,6) size 86x12
- text run at (19,6) width 86: "Soups & Salads"
+ RenderText {#text} at (5,6) size 8x12
+ text run at (5,6) width 8: "\x{B7} "
+ RenderInline {A} at (0,0) size 93x12 [color=#0000EE]
+ RenderInline (generated) at (0,0) size 14x25
+ RenderText {#text} at (13,-5) size 14x25
+ text run at (13,-5) width 14: "S"
+ RenderText {#text} at (27,6) size 79x12
+ text run at (27,6) width 79: "oups & Salads"
RenderListItem {LI} at (0,42) size 120x33
RenderListMarker at (-14,6) size 5x12: bullet
- RenderInline (generated) at (0,0) size 14x25
- RenderText {#text} at (5,-5) size 14x25
- text run at (5,-5) width 14: "\x{B7} "
- RenderText {#text} at (0,0) size 0x0
- RenderInline {A} at (0,0) size 81x24 [color=#0000EE]
- RenderText {#text} at (19,6) size 81x24
- text run at (19,6) width 74: "Sandwiches &"
- text run at (93,6) width 4: " "
+ RenderText {#text} at (5,6) size 8x12
+ text run at (5,6) width 8: "\x{B7} "
+ RenderInline {A} at (0,0) size 85x24 [color=#0000EE]
+ RenderInline (generated) at (0,0) size 14x25
+ RenderText {#text} at (13,-5) size 14x25
+ text run at (13,-5) width 14: "S"
+ RenderText {#text} at (27,6) size 82x24
+ text run at (27,6) width 67: "andwiches &"
+ text run at (94,6) width 4: " "
text run at (16,18) width 42: "Burgers"
RenderListItem {LI} at (0,75) size 120x21
RenderListMarker at (-14,6) size 5x12: bullet
- RenderInline (generated) at (0,0) size 14x25
- RenderText {#text} at (5,-5) size 14x25
- text run at (5,-5) width 14: "\x{B7} "
- RenderText {#text} at (0,0) size 0x0
- RenderInline {A} at (0,0) size 71x12 [color=#0000EE]
- RenderText {#text} at (19,6) size 71x12
- text run at (19,6) width 71: "Steak & Ribs"
+ RenderText {#text} at (5,6) size 8x12
+ text run at (5,6) width 8: "\x{B7} "
+ RenderInline {A} at (0,0) size 78x12 [color=#0000EE]
+ RenderInline (generated) at (0,0) size 14x25
+ RenderText {#text} at (13,-5) size 14x25
+ text run at (13,-5) width 14: "S"
+ RenderText {#text} at (27,6) size 64x12
+ text run at (27,6) width 64: "teak & Ribs"
RenderListItem {LI} at (0,96) size 120x21
RenderListMarker at (-14,6) size 5x12: bullet
- RenderInline (generated) at (0,0) size 14x25
- RenderText {#text} at (5,-5) size 14x25
- text run at (5,-5) width 14: "\x{B7} "
- RenderText {#text} at (0,0) size 0x0
- RenderInline {A} at (0,0) size 46x12 [color=#0000EE]
- RenderText {#text} at (19,6) size 46x12
- text run at (19,6) width 46: "Seafood"
+ RenderText {#text} at (5,6) size 8x12
+ text run at (5,6) width 8: "\x{B7} "
+ RenderInline {A} at (0,0) size 53x12 [color=#0000EE]
+ RenderInline (generated) at (0,0) size 14x25
+ RenderText {#text} at (13,-5) size 14x25
+ text run at (13,-5) width 14: "S"
+ RenderText {#text} at (27,6) size 39x12
+ text run at (27,6) width 39: "eafood"
RenderListItem {LI} at (0,117) size 120x21
RenderListMarker at (-14,6) size 5x12: bullet
- RenderInline (generated) at (0,0) size 14x25
- RenderText {#text} at (5,-5) size 14x25
- text run at (5,-5) width 14: "\x{B7} "
- RenderText {#text} at (0,0) size 0x0
- RenderInline {A} at (0,0) size 46x12 [color=#0000EE]
- RenderText {#text} at (19,6) size 46x12
- text run at (19,6) width 46: "Combos"
-selection start: position 0 of child 0 {#text} of child 1 {A} of child 1 {LI} of child 1 {UL} of child 1 {DIV} of body
-selection end: position 5 of child 0 {#text} of child 1 {A} of child 7 {LI} of child 1 {UL} of child 1 {DIV} of body
+ RenderText {#text} at (5,6) size 8x12
+ text run at (5,6) width 8: "\x{B7} "
+ RenderInline {A} at (0,0) size 52x12 [color=#0000EE]
+ RenderInline (generated) at (0,0) size 14x25
+ RenderText {#text} at (13,-5) size 14x25
+ text run at (13,-5) width 14: "C"
+ RenderText {#text} at (27,6) size 38x12
+ text run at (27,6) width 38: "ombos"
+selection start: position 0 of child 0 {#text} of child 1 {LI} of child 1 {UL} of child 1 {DIV} of body
+selection end: position 4 of child 0 {#text} of child 1 {A} of child 7 {LI} of child 1 {UL} of child 1 {DIV} of body

Powered by Google App Engine
This is Rietveld 408576698