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

Unified Diff: third_party/WebKit/LayoutTests/platform/mac/svg/batik/text/textLayout2-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/batik/text/textLayout2-expected.txt
diff --git a/third_party/WebKit/LayoutTests/platform/mac/svg/batik/text/textLayout2-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/svg/batik/text/textLayout2-expected.txt
index 62545c4bcc7ff8f9637e0a810a4c914d2b8e7c70..acb238d8f81cc7a93c1d1dd8fcf319d682099ba8 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/svg/batik/text/textLayout2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/svg/batik/text/textLayout2-expected.txt
@@ -1,67 +1,67 @@
layer at (0,0) size 800x600
LayoutView at (0,0) size 800x600
layer at (0,0) size 450x500
- LayoutSVGRoot {svg} at (0,0) size 448x498
- LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
- LayoutSVGText {text} at (0,-14) size 46x18 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 46x18
+ LayoutSVGRoot {svg} at (0,0) size 450x500
+ LayoutSVGHiddenContainer {defs} at (0,-14) size 45.31x18
+ LayoutSVGText {text} at (0,-14) size 45.31x18 contains 1 chunk(s)
+ LayoutSVGInlineText {#text} at (0,-14) size 45.31x18
chunk 1 text run 1 at (0.00,0.00) startOffset 0 endOffset 6 width 45.32: "sample"
- LayoutSVGContainer {g} at (90,36) size 250x437
- LayoutSVGText {text} at (139,36) size 172x18 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 172x18
+ LayoutSVGContainer {g} at (90,36) size 250x436.30
+ LayoutSVGText {text} at (139.13,36) size 171.73x17.16 contains 1 chunk(s)
+ LayoutSVGInlineText {#text} at (139.13,36) size 171.73x17.16
chunk 1 (middle anchor) text run 1 at (139.13,50.00) startOffset 0 endOffset 26 width 171.75: "Text Layout Properties (2)"
- LayoutSVGText {text} at (186,65) size 78x13 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 78x13
+ LayoutSVGText {text} at (186.25,65) size 77.47x13 contains 1 chunk(s)
+ LayoutSVGInlineText {#text} at (186.25,65) size 77.47x13
chunk 1 (middle anchor) text run 1 at (186.26,75.00) startOffset 0 endOffset 19 width 77.48: "Baseline Properties"
- LayoutSVGContainer {g} at (155,88) size 140x49
- LayoutSVGText {text} at (164,88) size 122x35 contains 1 chunk(s)
+ LayoutSVGContainer {g} at (155.52,88.50) size 138.94x48.50
+ LayoutSVGText {text} at (164.17,88.50) size 121.64x34 contains 1 chunk(s)
LayoutSVGTSpan {tspan} at (0,0) size 33x17
- LayoutSVGInlineText {#text} at (0,0) size 33x17
+ LayoutSVGInlineText {#text} at (164.17,88.50) size 32.53x17
chunk 1 (middle anchor) text run 1 at (164.18,101.50) startOffset 0 endOffset 5 width 32.49: "super"
- LayoutSVGInlineText {#text} at (32,8) size 30x17
+ LayoutSVGInlineText {#text} at (196.66,97) size 29.16x17
chunk 1 (middle anchor) text run 1 at (196.67,110.00) startOffset 0 endOffset 5 width 29.16: " and "
LayoutSVGTSpan {tspan} at (0,0) size 22x17
- LayoutSVGInlineText {#text} at (61,17) size 21x17
+ LayoutSVGInlineText {#text} at (225.81,105.50) size 20.83x17
chunk 1 (middle anchor) text run 1 at (225.82,118.50) startOffset 0 endOffset 3 width 20.84: "sub"
- LayoutSVGInlineText {#text} at (82,8) size 40x17
+ LayoutSVGInlineText {#text} at (246.66,97) size 39.16x17
chunk 1 (middle anchor) text run 1 at (246.66,110.00) startOffset 0 endOffset 7 width 39.16: "scripts"
- LayoutSVGText {text} at (155,128) size 140x9 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 139x9
+ LayoutSVGText {text} at (155.52,128) size 138.94x9 contains 1 chunk(s)
+ LayoutSVGInlineText {#text} at (155.52,128) size 138.94x9
chunk 1 (middle anchor) text run 1 at (155.53,135.00) startOffset 0 endOffset 43 width 138.95: "baseline-shift=\"super\"/baseline-shift=\"sub\""
- LayoutSVGContainer {g} at (118,149) size 213x33
- LayoutSVGText {text} at (118,149) size 213x23 contains 1 chunk(s)
+ LayoutSVGContainer {g} at (118.98,149) size 212.02x33
+ LayoutSVGText {text} at (118.98,149) size 212.02x23 contains 1 chunk(s)
LayoutSVGTSpan {tspan} at (0,0) size 48x17
- LayoutSVGInlineText {#text} at (0,0) size 48x17
+ LayoutSVGInlineText {#text} at (118.98,149) size 47.48x17
chunk 1 (middle anchor) text run 1 at (118.99,162.00) startOffset 0 endOffset 8 width 47.50: "positive"
- LayoutSVGInlineText {#text} at (47,3) size 30x17
+ LayoutSVGInlineText {#text} at (166.48,152) size 29.16x17
chunk 1 (middle anchor) text run 1 at (166.49,165.00) startOffset 0 endOffset 5 width 29.16: " and "
LayoutSVGTSpan {tspan} at (0,0) size 56x17
- LayoutSVGInlineText {#text} at (76,6) size 55x17
+ LayoutSVGInlineText {#text} at (195.64,155) size 54.55x17
chunk 1 (middle anchor) text run 1 at (195.64,168.00) startOffset 0 endOffset 9 width 54.56: "negative "
- LayoutSVGInlineText {#text} at (131,3) size 81x17
+ LayoutSVGInlineText {#text} at (250.19,152) size 80.81x17
chunk 1 (middle anchor) text run 1 at (250.20,165.00) startOffset 0 endOffset 14 width 80.81: "baseline-shift"
- LayoutSVGText {text} at (185,173) size 80x9 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 79x9
+ LayoutSVGText {text} at (185.89,173) size 78.20x9 contains 1 chunk(s)
+ LayoutSVGInlineText {#text} at (185.89,173) size 78.20x9
chunk 1 (middle anchor) text run 1 at (185.90,180.00) startOffset 0 endOffset 23 width 78.20: "baseline-shift=\"+/-20%\""
- LayoutSVGText {text} at (174,200) size 102x13 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 101x13
+ LayoutSVGText {text} at (174.80,200) size 100.39x13 contains 1 chunk(s)
+ LayoutSVGInlineText {#text} at (174.80,200) size 100.39x13
chunk 1 (middle anchor) text run 1 at (174.80,210.00) startOffset 0 endOffset 25 width 100.39: "Multi-line Text Selection"
- LayoutSVGText {text} at (164,218) size 122x9 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 122x9
+ LayoutSVGText {text} at (164.20,218) size 121.58x9 contains 1 chunk(s)
+ LayoutSVGInlineText {#text} at (164.20,218) size 121.58x9
chunk 1 (middle anchor) text run 1 at (164.21,225.00) startOffset 0 endOffset 42 width 121.59: "(Try selecting the following text regions)"
- LayoutSVGText {text} at (120,237) size 203x32 contains 1 chunk(s)
+ LayoutSVGText {text} at (120,237) size 202.64x32 contains 1 chunk(s)
LayoutSVGTSpan {tspan} at (0,0) size 199x17
- LayoutSVGInlineText {#text} at (0,0) size 199x17
+ LayoutSVGInlineText {#text} at (120,237) size 198.89x17
chunk 1 text run 1 at (120.00,250.00) startOffset 0 endOffset 33 width 198.90: "Text selections can span multiple"
- LayoutSVGInlineText {#text} at (198,0) size 4x17
+ LayoutSVGInlineText {#text} at (318.89,237) size 3.75x17
chunk 1 text run 1 at (318.90,250.00) startOffset 0 endOffset 1 width 3.75: " "
LayoutSVGTSpan {tspan} at (0,0) size 164x17
- LayoutSVGInlineText {#text} at (0,15) size 164x17
+ LayoutSVGInlineText {#text} at (120,252) size 163.55x17
chunk 1 text run 1 at (120.00,265.00) startOffset 0 endOffset 27 width 163.55: "lines via <tspan> elements."
LayoutSVGInlineText {#text} at (0,0) size 0x0
- LayoutSVGText {text} at (0,-68) size 106x123 contains 1 chunk(s)
+ LayoutSVGText {text} at (0,-68) size 105.55x123 [transform={m=((1.00,0.00)(0.00,1.00)) t=(90.00,360.00)}] contains 1 chunk(s)
LayoutSVGTSpan {tspan} at (0,0) size 106x123
- LayoutSVGInlineText {#text} at (0,50) size 106x123
+ LayoutSVGInlineText {#text} at (0,-68) size 105.55x123
chunk 1 text run 1 at (0.00,0.00) startOffset 0 endOffset 1 width 12.22: "T"
chunk 1 text run 1 at (10.00,-25.00) startOffset 0 endOffset 1 width 8.88: "e"
chunk 1 text run 1 at (25.00,-40.00) startOffset 0 endOffset 1 width 10.00: "x"
@@ -75,8 +75,8 @@ layer at (0,0) size 450x500
chunk 1 text run 1 at (25.00,40.00) startOffset 0 endOffset 1 width 8.88: "e"
chunk 1 text run 1 at (10.00,25.00) startOffset 0 endOffset 1 width 5.00: "."
LayoutSVGInlineText {#text} at (0,0) size 0x0
- LayoutSVGText {text} at (0,-18) size 90x103 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 90x103
+ LayoutSVGText {text} at (0,-18) size 90x103 [transform={m=((1.00,0.00)(0.00,1.00)) t=(250.00,320.00)}] contains 1 chunk(s)
+ LayoutSVGInlineText {#text} at (0,-18) size 90x103
chunk 1 text run 1 at (0.00,0.00) startOffset 0 endOffset 1 width 12.22: "T"
chunk 1 text run 1 at (20.00,0.00) startOffset 0 endOffset 1 width 8.88: "e"
chunk 1 text run 1 at (40.00,0.00) startOffset 0 endOffset 1 width 10.00: "x"
@@ -93,11 +93,11 @@ layer at (0,0) size 450x500
chunk 1 text run 1 at (0.00,60.00) startOffset 0 endOffset 1 width 8.88: "a"
chunk 1 text run 1 at (0.00,40.00) startOffset 0 endOffset 1 width 6.66: "r"
chunk 1 text run 1 at (0.00,20.00) startOffset 0 endOffset 1 width 8.88: "e"
- LayoutSVGText {text} at (151,435) size 147x21 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,1) size 61x17
+ LayoutSVGText {text} at (151.98,435.89) size 146x19.33 contains 1 chunk(s)
+ LayoutSVGInlineText {#text} at (151.98,437) size 60.59x17
chunk 1 (middle anchor) text run 1 at (152.00,450.00) startOffset 0 endOffset 10 width 60.61: "Text with "
LayoutSVGTSpan {tspan} at (0,0) size 46x20
- LayoutSVGInlineText {#text} at (59,0) size 45x20
+ LayoutSVGInlineText {#text} at (211.91,435.89) size 44.47x19.33
chunk 1 (middle anchor) text run 1 at (212.60,450.00) startOffset 0 endOffset 1 width 5.00: "r"
chunk 1 (middle anchor) text run 2 at (217.60,450.00) startOffset 1 endOffset 2 width 7.50: "o"
chunk 1 (middle anchor) text run 3 at (225.10,450.00) startOffset 2 endOffset 3 width 4.17: "t"
@@ -105,10 +105,10 @@ layer at (0,0) size 450x500
chunk 1 (middle anchor) text run 5 at (235.92,450.00) startOffset 4 endOffset 5 width 4.17: "t"
chunk 1 (middle anchor) text run 6 at (240.09,450.00) startOffset 5 endOffset 6 width 6.66: "e"
chunk 1 (middle anchor) text run 7 at (246.75,450.00) startOffset 6 endOffset 7 width 7.50: "d"
- LayoutSVGInlineText {#text} at (102,1) size 44x17
+ LayoutSVGInlineText {#text} at (254.23,437) size 43.75x17
chunk 1 (middle anchor) text run 1 at (254.25,450.00) startOffset 0 endOffset 7 width 43.75: " glyphs"
- LayoutSVGText {text} at (163,452) size 126x21 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 126x20
+ LayoutSVGText {text} at (163.14,452.44) size 125.83x19.86 contains 1 chunk(s)
+ LayoutSVGInlineText {#text} at (163.14,452.44) size 125.83x19.86
chunk 1 (middle anchor) text run 1 at (164.18,465.00) startOffset 0 endOffset 1 width 13.34: "M"
chunk 1 (middle anchor) text run 2 at (177.52,465.00) startOffset 1 endOffset 2 width 7.50: "o"
chunk 1 (middle anchor) text run 3 at (185.02,465.00) startOffset 2 endOffset 3 width 5.00: "r"
@@ -128,11 +128,11 @@ layer at (0,0) size 450x500
chunk 1 (middle anchor) text run 17 at (264.98,465.00) startOffset 16 endOffset 17 width 7.50: "p"
chunk 1 (middle anchor) text run 18 at (272.48,465.00) startOffset 17 endOffset 18 width 7.50: "h"
chunk 1 (middle anchor) text run 19 at (279.98,465.00) startOffset 18 endOffset 19 width 5.84: "s"
- LayoutSVGContainer {use} at (0,0) size 448x498
- LayoutSVGContainer {g} at (0,0) size 448x498
- LayoutSVGRect {rect} at (0,0) size 448x498 [stroke={[type=SOLID] [color=#000000]}] [x=1.00] [y=1.00] [width=446.00] [height=496.00]
- LayoutSVGContainer {g} at (418,466) size 28x30 [transform={m=((1.00,0.00)(0.00,1.00)) t=(418.00,467.00)}]
- LayoutSVGViewportContainer {svg} at (418,466) size 28x30
- LayoutSVGPath {path} at (418,468) size 14x19 [fill={[type=SOLID] [color=#6666FF]}] [data="M 172 44 C 137 60 31 135 11 199 c -8 27 22 48 44 33 C 14 306 -1 332 0 356 c 0 14 13 42 44 27 c 8 -4 35 -25 52 -41 c 14 -1 24 -11 42 -28 c 17 14 36 10 52 -7 c 22 2 82 -78 44 -108 c -3 -24 -30 -37 -53 -18 c -6 -2 -13 -1 -18 1 c 22 -35 43 -82 49 -105 C 219 47 188 36 172 44 Z"]
- LayoutSVGPath {path} at (432,466) size 14x17 [fill={[type=SOLID] [color=#FF0000]}] [data="M 400 0 c -18 3 -49 31 -49 31 c -29 23 -43 58 -28 95 c -13 14 -29 44 -29 67 c 0 28 20 52 50 29 c 7 8 21 16 37 5 c -5 29 3 48 26 49 c 1 10 13 31 36 17 c 16 -10 58 -39 79 -56 c 25 -23 25 -94 -18 -89 c 33 -59 -3 -96 -27 -84 c -10 4 -46 25 -52 30 c -1 -7 -5 -12 -11 -14 C 436 45 436 -5 401 0 Z"]
- LayoutSVGPath {path} at (425,484) size 16x12 [fill={[type=SOLID] [color=#33CC33]}] [data="M 275 353 c -46 12 -88 43 -114 91 c -9 16 6 37 25 33 c -14 24 -40 67 -15 81 c 28 16 52 -8 60 -15 c 18 21 50 10 81 -17 c 41 14 68 -2 103 -53 c 8 -12 30 -43 30 -65 c 0 -16 -15 -30 -35 -21 c -1 -12 -9 -38 -53 -19 c -10 -6 -31 -5 -54 17 C 308 375 300 347 275 353 Z"]
+ LayoutSVGContainer {use} at (1,1) size 446x496
+ LayoutSVGContainer {g} at (1,1) size 446x496
+ LayoutSVGRect {rect} at (1,1) size 446x496 [stroke={[type=SOLID] [color=#000000]}] [x=1.00] [y=1.00] [width=446.00] [height=496.00]
+ LayoutSVGContainer {g} at (0.19,-0.25) size 26.92x28.44 [transform={m=((1.00,0.00)(0.00,1.00)) t=(418.00,467.00)}]
+ LayoutSVGViewportContainer {svg} at (-1,-5) size 548x579
+ LayoutSVGPath {path} at (-1,36) size 273x362 [fill={[type=SOLID] [color=#6666FF]}] [data="M 172 44 C 137 60 31 135 11 199 c -8 27 22 48 44 33 C 14 306 -1 332 0 356 c 0 14 13 42 44 27 c 8 -4 35 -25 52 -41 c 14 -1 24 -11 42 -28 c 17 14 36 10 52 -7 c 22 2 82 -78 44 -108 c -3 -24 -30 -37 -53 -18 c -6 -2 -13 -1 -18 1 c 22 -35 43 -82 49 -105 C 219 47 188 36 172 44 Z"]
+ LayoutSVGPath {path} at (294,-5) size 253x312 [fill={[type=SOLID] [color=#FF0000]}] [data="M 400 0 c -18 3 -49 31 -49 31 c -29 23 -43 58 -28 95 c -13 14 -29 44 -29 67 c 0 28 20 52 50 29 c 7 8 21 16 37 5 c -5 29 3 48 26 49 c 1 10 13 31 36 17 c 16 -10 58 -39 79 -56 c 25 -23 25 -94 -18 -89 c 33 -59 -3 -96 -27 -84 c -10 4 -46 25 -52 30 c -1 -7 -5 -12 -11 -14 C 436 45 436 -5 401 0 Z"]
+ LayoutSVGPath {path} at (146,347) size 299x227 [fill={[type=SOLID] [color=#33CC33]}] [data="M 275 353 c -46 12 -88 43 -114 91 c -9 16 6 37 25 33 c -14 24 -40 67 -15 81 c 28 16 52 -8 60 -15 c 18 21 50 10 81 -17 c 41 14 68 -2 103 -53 c 8 -12 30 -43 30 -65 c 0 -16 -15 -30 -35 -21 c -1 -12 -9 -38 -53 -19 c -10 -6 -31 -5 -54 17 C 308 375 300 347 275 353 Z"]

Powered by Google App Engine
This is Rietveld 408576698