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

Unified Diff: third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-path-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/linux/svg/text/text-selection-path-01-b-expected.txt
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-path-01-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-path-01-b-expected.txt
index 46cc5de2723d85dcf1b813bd636f017caa78feb5..24bcd5108a42cb3522195cae493ff0de1fd9d931 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-path-01-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-path-01-b-expected.txt
@@ -2,17 +2,17 @@ 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 (0,0) size 698x486
- LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
- LayoutSVGPath {path} at (330,22) size 368x164 [stroke={[type=SOLID] [color=#0000FF]}] [data="M 199 89.3 C 206.6 66.6 235.8 13.2 270 30.3 C 286.6 38.6 298.9 59.4 310 73.3 C 321.7 87.9 338.6 99 356 103.3 C 387.3 111.1 396.6 90.4 418 74.3"]
- LayoutSVGPath {path} at (55,116) size 367x164 [stroke={[type=SOLID] [color=#0000FF]}] [data="M 33.5 145.8 C 41 123 70.3 69.7 104.5 86.8 C 121 95 133 116 144.5 129.8 C 156.2 144.4 173 155.5 190.5 159.8 C 221.8 167.6 231 146.9 252.5 130.8"]
- LayoutSVGPath {path} at (188,385) size 501x7 [stroke={[type=SOLID] [color=#0000FF] [stroke width=4.00]}] [data="M 113 233 L 413 233"]
- LayoutSVGContainer {g} at (279,0) size 419x189
- LayoutSVGContainer {use} at (330,22) size 368x164
- LayoutSVGPath {path} at (330,22) size 368x164 [stroke={[type=SOLID] [color=#0000FF]}] [data="M 199 89.3 C 206.6 66.6 235.8 13.2 270 30.3 C 286.6 38.6 298.9 59.4 310 73.3 C 321.7 87.9 338.6 99 356 103.3 C 387.3 111.1 396.6 90.4 418 74.3"]
- LayoutSVGText {text} at (167,-7) size 206x120 contains 1 chunk(s)
+ LayoutSVGContainer {g} at (-8.64,-6.92) size 426.64x298.13
+ LayoutSVGHiddenContainer {defs} at (33.50,13.20) size 384.50x219.80
+ LayoutSVGPath {path} at (199,13.20) size 219x97.90 [stroke={[type=SOLID] [color=#0000FF]}] [data="M 199 89.3 C 206.6 66.6 235.8 13.2 270 30.3 C 286.6 38.6 298.9 59.4 310 73.3 C 321.7 87.9 338.6 99 356 103.3 C 387.3 111.1 396.6 90.4 418 74.3"]
+ LayoutSVGPath {path} at (33.50,69.70) size 219x97.90 [stroke={[type=SOLID] [color=#0000FF]}] [data="M 33.5 145.8 C 41 123 70.3 69.7 104.5 86.8 C 121 95 133 116 144.5 129.8 C 156.2 144.4 173 155.5 190.5 159.8 C 221.8 167.6 231 146.9 252.5 130.8"]
+ LayoutSVGPath {path} at (113,233) size 300x0 [stroke={[type=SOLID] [color=#0000FF] [stroke width=4.00]}] [data="M 113 233 L 413 233"]
+ LayoutSVGContainer {g} at (167.86,-6.92) size 250.14x119.84
+ LayoutSVGContainer {use} at (199,13.20) size 219x97.90
+ LayoutSVGPath {path} at (199,13.20) size 219x97.90 [stroke={[type=SOLID] [color=#0000FF]}] [data="M 199 89.3 C 206.6 66.6 235.8 13.2 270 30.3 C 286.6 38.6 298.9 59.4 310 73.3 C 321.7 87.9 338.6 99 356 103.3 C 387.3 111.1 396.6 90.4 418 74.3"]
+ LayoutSVGText {text} at (167.86,-6.92) size 204.64x119.84 contains 1 chunk(s)
LayoutSVGTextPath {textPath} at (0,0) size 205x120
- LayoutSVGInlineText {#text} at (0,0) size 205x120
+ LayoutSVGInlineText {#text} at (167.86,-6.92) size 204.64x119.84
chunk 1 text run 1 at (203.06,79.02) startOffset 0 endOffset 1 width 22.20: "T"
chunk 1 text run 2 at (212.29,61.56) startOffset 1 endOffset 2 width 17.40: "e"
chunk 1 text run 3 at (222.63,47.07) startOffset 2 endOffset 3 width 18.00: "x"
@@ -28,19 +28,19 @@ layer at (0,0) size 800x600
chunk 1 text run 13 at (337.49,96.10) startOffset 12 endOffset 13 width 12.60: "t"
chunk 1 text run 14 at (353.02,102.49) startOffset 13 endOffset 14 width 21.00: "h"
LayoutSVGInlineText {#text} at (0,0) size 0x0
- LayoutSVGContainer {g} at (0,82) size 486x271
- LayoutSVGContainer {use} at (55,116) size 367x164
- LayoutSVGPath {path} at (55,116) size 367x164 [stroke={[type=SOLID] [color=#0000FF]}] [data="M 33.5 145.8 C 41 123 70.3 69.7 104.5 86.8 C 121 95 133 116 144.5 129.8 C 156.2 144.4 173 155.5 190.5 159.8 C 221.8 167.6 231 146.9 252.5 130.8"]
- LayoutSVGText {text} at (-9,49) size 216x121 contains 1 chunk(s)
+ LayoutSVGContainer {g} at (-8.64,49.55) size 299.64x161.66
+ LayoutSVGContainer {use} at (33.50,69.70) size 219x97.90
+ LayoutSVGPath {path} at (33.50,69.70) size 219x97.90 [stroke={[type=SOLID] [color=#0000FF]}] [data="M 33.5 145.8 C 41 123 70.3 69.7 104.5 86.8 C 121 95 133 116 144.5 129.8 C 156.2 144.4 173 155.5 190.5 159.8 C 221.8 167.6 231 146.9 252.5 130.8"]
+ LayoutSVGText {text} at (-8.64,49.55) size 215.59x119.86 contains 1 chunk(s)
LayoutSVGTextPath {textPath} at (0,0) size 216x120
LayoutSVGTSpan {tspan} at (0,0) size 57x58
- LayoutSVGInlineText {#text} at (0,37) size 57x58
+ LayoutSVGInlineText {#text} at (-8.64,86.73) size 56.34x57.19
chunk 1 text run 1 at (37.53,135.50) startOffset 0 endOffset 1 width 22.20: "T"
chunk 1 text run 2 at (46.73,118.03) startOffset 1 endOffset 2 width 17.40: "e"
LayoutSVGTSpan {tspan} at (0,0) size 44x41
- LayoutSVGInlineText {#text} at (34,25) size 44x41
+ LayoutSVGInlineText {#text} at (25.56,75.05) size 43.27x40.39
chunk 1 text run 1 at (57.08,103.54) startOffset 0 endOffset 1 width 18.00: "x"
- LayoutSVGInlineText {#text} at (50,0) size 165x120
+ LayoutSVGInlineText {#text} at (42.03,49.55) size 164.92x119.86
chunk 1 text run 1 at (67.95,92.75) startOffset 0 endOffset 1 width 12.60: "t"
chunk 1 text run 2 at (76.74,87.05) startOffset 1 endOffset 2 width 8.40: " "
chunk 1 text run 3 at (89.94,83.50) startOffset 2 endOffset 3 width 19.20: "o"
@@ -53,19 +53,19 @@ layer at (0,0) size 800x600
chunk 1 text run 10 at (171.96,152.60) startOffset 9 endOffset 10 width 12.60: "t"
chunk 1 text run 11 at (187.48,158.99) startOffset 10 endOffset 11 width 21.00: "h"
LayoutSVGInlineText {#text} at (0,0) size 0x0
- LayoutSVGRect {rect} at (27,280) size 459x71 [stroke={[type=SOLID] [color=#000000]}] [x=17.00] [y=169.00] [width=274.00] [height=41.00]
- LayoutSVGText {text} at (19,166) size 215x24 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 215x23
+ LayoutSVGRect {rect} at (17,169) size 274x41 [stroke={[type=SOLID] [color=#000000]}] [x=17.00] [y=169.00] [width=274.00] [height=41.00]
+ LayoutSVGText {text} at (19,166.41) size 214.80x22.80 contains 1 chunk(s)
+ LayoutSVGInlineText {#text} at (19,166.41) size 214.80x22.80
chunk 1 text run 1 at (19.00,185.00) startOffset 0 endOffset 25 width 214.80: "'tspan' subelement inside"
- LayoutSVGText {text} at (19,188) size 187x24 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 187x23
+ LayoutSVGText {text} at (19,188.41) size 186.59x22.80 contains 1 chunk(s)
+ LayoutSVGInlineText {#text} at (19,188.41) size 186.59x22.80
chunk 1 text run 1 at (19.00,207.00) startOffset 0 endOffset 23 width 186.60: "the 'textPath' element."
- LayoutSVGContainer {g} at (188,352) size 501x134
- LayoutSVGContainer {use} at (188,385) size 501x7
- LayoutSVGPath {path} at (188,385) size 501x7 [stroke={[type=SOLID] [color=#0000FF] [stroke width=4.00]}] [data="M 113 233 L 413 233"]
- LayoutSVGText {text} at (212,211) size 174x28 contains 1 chunk(s)
+ LayoutSVGContainer {g} at (113,211.41) size 300x79.80
+ LayoutSVGContainer {use} at (113,233) size 300x0
+ LayoutSVGPath {path} at (113,233) size 300x0 [stroke={[type=SOLID] [color=#0000FF] [stroke width=4.00]}] [data="M 113 233 L 413 233"]
+ LayoutSVGText {text} at (212,211.41) size 173.72x27 contains 1 chunk(s)
LayoutSVGTextPath {textPath} at (0,0) size 174x27
- LayoutSVGInlineText {#text} at (0,0) size 174x27
+ LayoutSVGInlineText {#text} at (212,211.41) size 173.72x27
chunk 1 text run 1 at (219.20,233.00) startOffset 0 endOffset 1 width 14.40: "T"
chunk 1 text run 2 at (232.70,233.00) startOffset 1 endOffset 2 width 12.60: "h"
chunk 1 text run 3 at (245.60,233.00) startOffset 2 endOffset 3 width 13.20: "e"
@@ -83,16 +83,16 @@ layer at (0,0) size 800x600
chunk 1 text run 15 at (369.84,233.00) startOffset 14 endOffset 15 width 6.60: "t"
chunk 1 text run 16 at (379.44,233.00) startOffset 15 endOffset 16 width 12.60: "h"
LayoutSVGInlineText {#text} at (0,0) size 0x0
- LayoutSVGRect {rect} at (195,415) size 436x71 [stroke={[type=SOLID] [color=#000000]}] [x=118.00] [y=250.00] [width=260.00] [height=41.00]
- LayoutSVGText {text} at (120,248) size 226x24 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 226x23
+ LayoutSVGRect {rect} at (118,250) size 260x41 [stroke={[type=SOLID] [color=#000000]}] [x=118.00] [y=250.00] [width=260.00] [height=41.00]
+ LayoutSVGText {text} at (120,248.41) size 225.83x22.80 contains 1 chunk(s)
+ LayoutSVGInlineText {#text} at (120,248.41) size 225.83x22.80
chunk 1 text run 1 at (120.00,267.00) startOffset 0 endOffset 30 width 225.84: "'startOffset' attribute of the"
- LayoutSVGText {text} at (120,268) size 155x24 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 155x23
+ LayoutSVGText {text} at (120,268.41) size 154.80x22.80 contains 1 chunk(s)
+ LayoutSVGInlineText {#text} at (120,268.41) size 154.80x22.80
chunk 1 text run 1 at (120.00,287.00) startOffset 0 endOffset 19 width 154.80: "'textPath' element."
- LayoutSVGText {text} at (10,304) size 266x46 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 266x46
+ LayoutSVGText {text} at (10,304) size 265.80x45.59 contains 1 chunk(s)
+ LayoutSVGInlineText {#text} at (10,304) size 265.80x45.59
chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 16 width 265.80: "$Revision: 1.9 $"
- 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 {textPath} of child 3 {text} of child 3 {g} of child 13 {g} of child 30 {svg} of document
selection end: position 16 of child 0 {#text} of child 15 {text} of child 30 {svg} of document

Powered by Google App Engine
This is Rietveld 408576698