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

Unified Diff: third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-tspan-01-b-expected.txt

Issue 2521473002: Change SVG layout tree output to be more meaningful and consistent (Closed)
Patch Set: - Created 4 years, 1 month 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: third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-tspan-01-b-expected.txt
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-tspan-01-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-tspan-01-b-expected.txt
index cb125e994717bb036ef366f457831448fdd13bd9..0ed63abbc689609b4cac776be2a331312d84bcc7 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-tspan-01-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-tspan-01-b-expected.txt
@@ -2,53 +2,53 @@ layer at (0,0) size 800x600
LayoutView at (0,0) size 800x600
layer at (0,0) size 800x600
LayoutSVGRoot {svg} at (0,0) size 800x600
- LayoutSVGContainer {g} at (28,9) size 757x489
- LayoutSVGText {text} at (25,5) size 420x19 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 420x18
+ LayoutSVGContainer {g} at (17.50,5.61) size 453x292.64
+ LayoutSVGText {text} at (25,5.61) size 419.70x18 contains 1 chunk(s)
+ LayoutSVGInlineText {#text} at (25,5.61) size 419.70x18
chunk 1 text run 1 at (25.00,20.00) startOffset 0 endOffset 60 width 419.71: "Basics of tspan: changing visual properties and positioning."
- LayoutSVGContainer {g} at (78,82) size 520x133
- LayoutSVGText {text} at (74,49) size 160x19 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 55x18
+ LayoutSVGContainer {g} at (47.50,49.36) size 310.50x79.50
+ LayoutSVGText {text} at (74,49.36) size 159.47x18 contains 1 chunk(s)
+ LayoutSVGInlineText {#text} at (74,49.36) size 54.55x18
chunk 1 text run 1 at (74.00,63.75) startOffset 0 endOffset 7 width 54.56: "You are"
LayoutSVGTSpan {tspan} at (0,0) size 35x18
- LayoutSVGInlineText {#text} at (54,0) size 34x18
+ LayoutSVGInlineText {#text} at (128.55,49.36) size 33.75x18
chunk 1 text run 1 at (128.56,63.75) startOffset 0 endOffset 5 width 33.76: " not "
- LayoutSVGInlineText {#text} at (88,0) size 72x18
+ LayoutSVGInlineText {#text} at (162.31,49.36) size 71.16x18
chunk 1 text run 1 at (162.31,63.75) startOffset 0 endOffset 9 width 71.16: "a banana."
- LayoutSVGRect {rect} at (78,122) size 520x92 [stroke={[type=SOLID] [color=#000000]}] [x=47.50] [y=74.25] [width=310.50] [height=53.50]
- LayoutSVGText {text} at (65,76) size 207x19 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 207x18
+ LayoutSVGRect {rect} at (47.50,74.25) size 310.50x53.50 [stroke={[type=SOLID] [color=#000000]}] [x=47.50] [y=74.25] [width=310.50] [height=53.50]
+ LayoutSVGText {text} at (65.25,76.36) size 206.42x18 contains 1 chunk(s)
+ LayoutSVGInlineText {#text} at (65.25,76.36) size 206.42x18
chunk 1 text run 1 at (65.25,90.75) startOffset 0 endOffset 29 width 206.42: "Text: \"You are not a banana.\""
- LayoutSVGText {text} at (65,93) size 287x19 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 286x18
+ LayoutSVGText {text} at (65.25,93.61) size 286x18 contains 1 chunk(s)
+ LayoutSVGInlineText {#text} at (65.25,93.61) size 286x18
chunk 1 text run 1 at (65.25,108.00) startOffset 0 endOffset 43 width 286.01: "'tspan' changes visual attributes of \"not\","
- LayoutSVGText {text} at (65,110) size 85x19 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 85x18
+ LayoutSVGText {text} at (65.25,110.86) size 84.47x18 contains 1 chunk(s)
+ LayoutSVGInlineText {#text} at (65.25,110.86) size 84.47x18
chunk 1 text run 1 at (65.25,125.25) startOffset 0 endOffset 13 width 84.48: "to red, bold."
- LayoutSVGContainer {g} at (374,214) size 411x175
- LayoutSVGText {text} at (257,128) size 177x45 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,10) size 55x18
+ LayoutSVGContainer {g} at (225,128.61) size 245.50x104.50
+ LayoutSVGText {text} at (257.50,128.61) size 176.05x43.50 contains 1 chunk(s)
+ LayoutSVGInlineText {#text} at (257.50,139.36) size 54.23x18
chunk 1 text run 1 at (257.50,153.75) startOffset 0 endOffset 7 width 54.24: "But you"
LayoutSVGTSpan {tspan} at (0,0) size 25x18
- LayoutSVGInlineText {#text} at (86,0) size 25x18
+ LayoutSVGInlineText {#text} at (343.73,128.61) size 24.02x18
chunk 1 text run 1 at (343.74,143.00) startOffset 0 endOffset 3 width 24.02: "are"
LayoutSVGTSpan {tspan} at (0,0) size 67x19
- LayoutSVGInlineText {#text} at (110,25) size 66x18
+ LayoutSVGInlineText {#text} at (367.75,154.11) size 65.80x18
chunk 1 text run 1 at (367.76,168.50) startOffset 0 endOffset 9 width 65.81: " a peach!"
- LayoutSVGRect {rect} at (374,297) size 411x92 [stroke={[type=SOLID] [color=#000000]}] [x=225.00] [y=179.00] [width=245.50] [height=53.50]
- LayoutSVGText {text} at (238,180) size 198x19 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 198x18
+ LayoutSVGRect {rect} at (225,179) size 245.50x53.50 [stroke={[type=SOLID] [color=#000000]}] [x=225.00] [y=179.00] [width=245.50] [height=53.50]
+ LayoutSVGText {text} at (238,180.61) size 197.19x18 contains 1 chunk(s)
+ LayoutSVGInlineText {#text} at (238,180.61) size 197.19x18
chunk 1 text run 1 at (238.00,195.00) startOffset 0 endOffset 28 width 197.20: "Text: \"But you are a peach!\""
- LayoutSVGText {text} at (238,197) size 227x19 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 227x18
+ LayoutSVGText {text} at (238,197.86) size 226.98x18 contains 1 chunk(s)
+ LayoutSVGInlineText {#text} at (238,197.86) size 226.98x18
chunk 1 text run 1 at (238.00,212.25) startOffset 0 endOffset 34 width 226.99: "Using dx,dy, 'tspan' raises \"are\","
- LayoutSVGText {text} at (238,215) size 174x19 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 174x18
+ LayoutSVGText {text} at (238,215.11) size 173.06x18 contains 1 chunk(s)
+ LayoutSVGInlineText {#text} at (238,215.11) size 173.06x18
chunk 1 text run 1 at (238.00,229.50) startOffset 0 endOffset 25 width 173.07: "'tspan' lowers \"a peach!\""
- LayoutSVGContainer {g} at (28,309) size 562x189
- LayoutSVGText {text} at (35,185) size 145x50 contains 1 chunk(s)
+ LayoutSVGContainer {g} at (17.50,185.61) size 335.50x112.64
+ LayoutSVGText {text} at (35,185.61) size 144.58x48.50 contains 1 chunk(s)
LayoutSVGTSpan {tspan} at (0,0) size 145x18
- LayoutSVGInlineText {#text} at (0,0) size 145x18
+ LayoutSVGInlineText {#text} at (35,185.61) size 144.58x18
chunk 1 text run 1 at (35.00,200.00) startOffset 0 endOffset 1 width 11.55: "C"
chunk 1 text run 1 at (53.75,200.00) startOffset 0 endOffset 1 width 8.90: "u"
chunk 1 text run 1 at (72.50,200.00) startOffset 0 endOffset 1 width 4.44: "t"
@@ -59,26 +59,26 @@ layer at (0,0) size 800x600
chunk 1 text run 1 at (166.25,200.00) startOffset 0 endOffset 2 width 13.34: "d "
LayoutSVGInlineText {#text} at (0,0) size 0x0
LayoutSVGTSpan {tspan} at (0,0) size 87x19
- LayoutSVGInlineText {#text} at (28,30) size 87x18
+ LayoutSVGInlineText {#text} at (63.13,216.11) size 86.25x18
chunk 1 text run 1 at (63.13,230.50) startOffset 0 endOffset 1 width 4.44: "f"
chunk 1 text run 1 at (81.88,230.50) startOffset 0 endOffset 1 width 8.90: "u"
chunk 1 text run 1 at (100.63,230.50) startOffset 0 endOffset 1 width 8.00: "z"
chunk 1 text run 1 at (119.38,230.50) startOffset 0 endOffset 1 width 8.00: "z"
chunk 1 text run 1 at (138.13,230.50) startOffset 0 endOffset 2 width 11.25: "y."
LayoutSVGInlineText {#text} at (0,0) size 0x0
- LayoutSVGRect {rect} at (28,407) size 562x91 [stroke={[type=SOLID] [color=#000000]}] [x=17.50] [y=244.75] [width=335.50] [height=53.50]
- LayoutSVGText {text} at (25,243) size 160x19 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 160x18
+ LayoutSVGRect {rect} at (17.50,244.75) size 335.50x53.50 [stroke={[type=SOLID] [color=#000000]}] [x=17.50] [y=244.75] [width=335.50] [height=53.50]
+ LayoutSVGText {text} at (25.25,243.61) size 159.53x18 contains 1 chunk(s)
+ LayoutSVGInlineText {#text} at (25.25,243.61) size 159.53x18
chunk 1 text run 1 at (25.25,258.00) startOffset 0 endOffset 23 width 159.54: "Text: \"Cute and fuzzy.\""
- LayoutSVGText {text} at (25,260) size 321x19 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 321x18
+ LayoutSVGText {text} at (25.25,260.86) size 320.66x18 contains 1 chunk(s)
+ LayoutSVGInlineText {#text} at (25.25,260.86) size 320.66x18
chunk 1 text run 1 at (25.25,275.25) startOffset 0 endOffset 45 width 320.66: "'tspan' char-by-char placement of \"Cute and\","
- LayoutSVGText {text} at (25,278) size 261x19 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 261x18
+ LayoutSVGText {text} at (25.25,278.11) size 260.16x18 contains 1 chunk(s)
+ LayoutSVGInlineText {#text} at (25.25,278.11) size 260.16x18
chunk 1 text run 1 at (25.25,292.50) startOffset 0 endOffset 39 width 260.17: "'tspan' char-by-char \"fuzzy\", below it."
- LayoutSVGText {text} at (10,304) size 264x45 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 264x44
+ LayoutSVGText {text} at (10,304.61) size 263.31x43.80 contains 1 chunk(s)
+ LayoutSVGInlineText {#text} at (10,304.61) size 263.31x43.80
chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 16 width 263.31: "$Revision: 1.7 $"
- LayoutSVGRect {rect} at (0,0) size 800x600 [stroke={[type=SOLID] [color=#000000]}] [x=1.00] [y=1.00] [width=478.00] [height=358.00]
+ LayoutSVGRect {rect} at (1,1) size 478x358 [stroke={[type=SOLID] [color=#000000]}] [x=1.00] [y=1.00] [width=478.00] [height=358.00]
selection start: position 0 of child 0 {#text} of child 1 {text} of child 13 {g} of child 35 {svg} of document
selection end: position 16 of child 0 {#text} of child 15 {text} of child 35 {svg} of document

Powered by Google App Engine
This is Rietveld 408576698