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

Unified Diff: third_party/WebKit/LayoutTests/platform/mac/svg/W3C-SVG-1.1/paths-data-01-t-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/mac/svg/W3C-SVG-1.1/paths-data-01-t-expected.txt
diff --git a/third_party/WebKit/LayoutTests/platform/mac/svg/W3C-SVG-1.1/paths-data-01-t-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/svg/W3C-SVG-1.1/paths-data-01-t-expected.txt
index 6db8595b3dc9d09eee921600afd84ccf41948aa3..d64a39883c2f4b365730fac24b126d231a37e2db 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/svg/W3C-SVG-1.1/paths-data-01-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/svg/W3C-SVG-1.1/paths-data-01-t-expected.txt
@@ -3,10 +3,10 @@ layer at (0,0) size 480x360
layer at (0,0) size 480x360
LayoutSVGRoot {svg} at (0,0) size 480x360
LayoutSVGContainer {g} at (3,3) size 457x340
- LayoutSVGText {text} at (100,3) size 232x14 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 232x14
+ LayoutSVGText {text} at (100,3) size 231.42x14 contains 1 chunk(s)
+ LayoutSVGInlineText {#text} at (100,3) size 231.42x14
chunk 1 text run 1 at (100.00,14.00) startOffset 0 endOffset 40 width 231.42: "Cubic bezier curves drawn with commands:"
- LayoutSVGPath {path} at (10,24) size 200x107 [stroke={[type=SOLID] [color=#00C000]}] [fill={[type=SOLID] [color=#FF0000]}] [data="M 210 130 C 145 130 110 80 110 80 S 75 25 10 25 m 0 105 c 65 0 100 -50 100 -50 s 35 -55 100 -55"]
+ LayoutSVGPath {path} at (10,25) size 200x105 [stroke={[type=SOLID] [color=#00C000]}] [fill={[type=SOLID] [color=#FF0000]}] [data="M 210 130 C 145 130 110 80 110 80 S 75 25 10 25 m 0 105 c 65 0 100 -50 100 -50 s 35 -55 100 -55"]
LayoutSVGRect {rect} at (208,128) size 4x4 [fill={[type=SOLID] [color=#4A83FF]}] [x=208.00] [y=128.00] [width=4.00] [height=4.00]
LayoutSVGRect {rect} at (108,78) size 4x4 [fill={[type=SOLID] [color=#4A83FF]}] [x=108.00] [y=78.00] [width=4.00] [height=4.00]
LayoutSVGRect {rect} at (8,23) size 4x4 [fill={[type=SOLID] [color=#4A83FF]}] [x=8.00] [y=23.00] [width=4.00] [height=4.00]
@@ -14,57 +14,57 @@ layer at (0,0) size 480x360
LayoutSVGRect {rect} at (108,78) size 4x4 [fill={[type=SOLID] [color=#4A83FF]}] [x=108.00] [y=78.00] [width=4.00] [height=4.00]
LayoutSVGRect {rect} at (208,23) size 4x4 [fill={[type=SOLID] [color=#4A83FF]}] [x=208.00] [y=23.00] [width=4.00] [height=4.00]
LayoutSVGText {text} at (5,71) size 82x14 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 82x14
+ LayoutSVGInlineText {#text} at (5,71) size 82x14
chunk 1 text run 1 at (5.00,82.00) startOffset 0 endOffset 16 width 82.00: "M, C, S, m, c, s"
- LayoutSVGPath {path} at (239,40) size 102x133 [stroke={[type=SOLID] [color=#000000]}] [data="M 240 90 c 0 30 7 50 50 0 c 43 -50 50 -30 50 0 c 0 83 -68 -34 -90 -30 C 240 60 240 90 240 90 Z"]
+ LayoutSVGPath {path} at (240,40) size 100x133 [stroke={[type=SOLID] [color=#000000]}] [data="M 240 90 c 0 30 7 50 50 0 c 43 -50 50 -30 50 0 c 0 83 -68 -34 -90 -30 C 240 60 240 90 240 90 Z"]
LayoutSVGRect {rect} at (238,88) size 4x4 [fill={[type=SOLID] [color=#4A83FF]}] [x=238.00] [y=88.00] [width=4.00] [height=4.00]
LayoutSVGRect {rect} at (288,88) size 4x4 [fill={[type=SOLID] [color=#4A83FF]}] [x=288.00] [y=88.00] [width=4.00] [height=4.00]
LayoutSVGRect {rect} at (338,88) size 4x4 [fill={[type=SOLID] [color=#4A83FF]}] [x=338.00] [y=88.00] [width=4.00] [height=4.00]
LayoutSVGRect {rect} at (248,58) size 4x4 [fill={[type=SOLID] [color=#4A83FF]}] [x=248.00] [y=58.00] [width=4.00] [height=4.00]
LayoutSVGText {text} at (253,39) size 76x14 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 76x14
+ LayoutSVGInlineText {#text} at (253,39) size 76x14
chunk 1 text run 1 at (253.00,50.00) startOffset 0 endOffset 16 width 76.00: "M, c, c, c, C, z"
- LayoutSVGPath {path} at (80,169) size 100x2 [stroke={[type=SOLID] [color=#000000]}] [data="M 80 170 C 100 170 160 170 180 170 Z"]
+ LayoutSVGPath {path} at (80,170) size 100x0 [stroke={[type=SOLID] [color=#000000]}] [data="M 80 170 C 100 170 160 170 180 170 Z"]
LayoutSVGRect {rect} at (78,168) size 4x4 [fill={[type=SOLID] [color=#4A83FF]}] [x=78.00] [y=168.00] [width=4.00] [height=4.00]
LayoutSVGRect {rect} at (178,168) size 4x4 [fill={[type=SOLID] [color=#4A83FF]}] [x=178.00] [y=168.00] [width=4.00] [height=4.00]
- LayoutSVGText {text} at (110,179) size 40x14 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 40x14
+ LayoutSVGText {text} at (110,179) size 39.33x14 contains 1 chunk(s)
+ LayoutSVGInlineText {#text} at (110,179) size 39.33x14
chunk 1 text run 1 at (110.00,190.00) startOffset 0 endOffset 7 width 39.33: "M, C, Z"
LayoutSVGPath {path} at (5,160) size 100x100 [fill={[type=SOLID] [color=#00C000]}] [data="M 5 260 C 40 260 60 175 55 160 c -5 15 15 100 50 100 Z"]
LayoutSVGRect {rect} at (3,258) size 4x4 [fill={[type=SOLID] [color=#4A83FF]}] [x=3.00] [y=258.00] [width=4.00] [height=4.00]
LayoutSVGRect {rect} at (53,158) size 4x4 [fill={[type=SOLID] [color=#4A83FF]}] [x=53.00] [y=158.00] [width=4.00] [height=4.00]
LayoutSVGRect {rect} at (103,258) size 4x4 [fill={[type=SOLID] [color=#4A83FF]}] [x=103.00] [y=258.00] [width=4.00] [height=4.00]
- LayoutSVGText {text} at (85,209) size 52x14 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 52x14
+ LayoutSVGText {text} at (85,209) size 51.98x14 contains 1 chunk(s)
+ LayoutSVGInlineText {#text} at (85,209) size 51.98x14
chunk 1 text run 1 at (85.00,220.00) startOffset 0 endOffset 10 width 52.00: "M, C, c, Z"
- LayoutSVGPath {path} at (199,159) size 52x102 [stroke={[type=SOLID] [color=#000000]}] [data="m 200 260 c 50 -40 50 -100 25 -100 s -25 60 25 100"]
+ LayoutSVGPath {path} at (200,160) size 50x100 [stroke={[type=SOLID] [color=#000000]}] [data="m 200 260 c 50 -40 50 -100 25 -100 s -25 60 25 100"]
LayoutSVGRect {rect} at (198,258) size 4x4 [fill={[type=SOLID] [color=#4A83FF]}] [x=198.00] [y=258.00] [width=4.00] [height=4.00]
LayoutSVGRect {rect} at (223,158) size 4x4 [fill={[type=SOLID] [color=#4A83FF]}] [x=223.00] [y=158.00] [width=4.00] [height=4.00]
LayoutSVGRect {rect} at (248,258) size 4x4 [fill={[type=SOLID] [color=#4A83FF]}] [x=248.00] [y=258.00] [width=4.00] [height=4.00]
- LayoutSVGText {text} at (165,199) size 36x14 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 36x14
+ LayoutSVGText {text} at (165,199) size 35.33x14 contains 1 chunk(s)
+ LayoutSVGInlineText {#text} at (165,199) size 35.33x14
chunk 1 text run 1 at (165.00,210.00) startOffset 0 endOffset 7 width 35.33: "m, c, s"
- LayoutSVGPath {path} at (359,90) size 101x101 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#0000FF]}] [data="M 360 100 C 420 90 460 140 450 190"]
+ LayoutSVGPath {path} at (360,90) size 100x100 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#0000FF]}] [data="M 360 100 C 420 90 460 140 450 190"]
LayoutSVGRect {rect} at (358,98) size 4x4 [fill={[type=SOLID] [color=#4A83FF]}] [x=358.00] [y=98.00] [width=4.00] [height=4.00]
LayoutSVGRect {rect} at (448,188) size 4x4 [fill={[type=SOLID] [color=#4A83FF]}] [x=448.00] [y=188.00] [width=4.00] [height=4.00]
- LayoutSVGText {text} at (360,139) size 26x14 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 26x14
+ LayoutSVGText {text} at (360,139) size 25.33x14 contains 1 chunk(s)
+ LayoutSVGInlineText {#text} at (360,139) size 25.33x14
chunk 1 text run 1 at (360.00,150.00) startOffset 0 endOffset 4 width 25.33: "M, C"
- LayoutSVGPath {path} at (287,173) size 74x74 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#FFFF00]}] [data="M 360 210 c 0 20 -16 36 -36 36 s -36 -16 -36 -36 s 16 -36 36 -36 s 36 16 36 36 Z"]
+ LayoutSVGPath {path} at (288,174) size 72x72 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#FFFF00]}] [data="M 360 210 c 0 20 -16 36 -36 36 s -36 -16 -36 -36 s 16 -36 36 -36 s 36 16 36 36 Z"]
LayoutSVGRect {rect} at (358,208) size 4x4 [fill={[type=SOLID] [color=#4A83FF]}] [x=358.00] [y=208.00] [width=4.00] [height=4.00]
LayoutSVGRect {rect} at (322,244) size 4x4 [fill={[type=SOLID] [color=#4A83FF]}] [x=322.00] [y=244.00] [width=4.00] [height=4.00]
LayoutSVGRect {rect} at (286,208) size 4x4 [fill={[type=SOLID] [color=#4A83FF]}] [x=286.00] [y=208.00] [width=4.00] [height=4.00]
LayoutSVGRect {rect} at (322,172) size 4x4 [fill={[type=SOLID] [color=#4A83FF]}] [x=322.00] [y=172.00] [width=4.00] [height=4.00]
- LayoutSVGText {text} at (290,254) size 74x14 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 74x14
+ LayoutSVGText {text} at (290,254) size 73.33x14 contains 1 chunk(s)
+ LayoutSVGInlineText {#text} at (290,254) size 73.33x14
chunk 1 text run 1 at (290.00,265.00) startOffset 0 endOffset 16 width 73.34: "M, c, s, s, s, z"
- LayoutSVGPath {path} at (320,225) size 135x101 [stroke={[type=SOLID] [color=#FF0000]}] [fill={[type=SOLID] [color=#F0F0F0]}] [data="m 360 325 c -40 -60 95 -100 80 0 Z"]
+ LayoutSVGPath {path} at (320,225) size 135x100 [stroke={[type=SOLID] [color=#FF0000]}] [fill={[type=SOLID] [color=#F0F0F0]}] [data="m 360 325 c -40 -60 95 -100 80 0 Z"]
LayoutSVGRect {rect} at (358,323) size 4x4 [fill={[type=SOLID] [color=#4A83FF]}] [x=358.00] [y=323.00] [width=4.00] [height=4.00]
LayoutSVGRect {rect} at (438,323) size 4x4 [fill={[type=SOLID] [color=#4A83FF]}] [x=438.00] [y=323.00] [width=4.00] [height=4.00]
- LayoutSVGText {text} at (380,329) size 36x14 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 36x14
+ LayoutSVGText {text} at (380,329) size 35.33x14 contains 1 chunk(s)
+ LayoutSVGInlineText {#text} at (380,329) size 35.33x14
chunk 1 text run 1 at (380.00,340.00) startOffset 0 endOffset 7 width 35.33: "m, c, z"
- LayoutSVGText {text} at (10,304) size 264x46 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 264x46
+ LayoutSVGText {text} at (10,304) size 263.33x46 contains 1 chunk(s)
+ LayoutSVGInlineText {#text} at (10,304) size 263.33x46
chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 16 width 263.34: "$Revision: 1.6 $"
- LayoutSVGRect {rect} at (0,0) size 480x360 [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]

Powered by Google App Engine
This is Rietveld 408576698