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

Unified Diff: third_party/WebKit/LayoutTests/platform/mac/svg/batik/text/textPosition2-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/textPosition2-expected.txt
diff --git a/third_party/WebKit/LayoutTests/platform/mac/svg/batik/text/textPosition2-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/svg/batik/text/textPosition2-expected.txt
index dda35be507ffe42abae7df1a5772ca5b5684980b..2c54909c0d99e040909158d3747e4c6ea88fbdd6 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/svg/batik/text/textPosition2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/svg/batik/text/textPosition2-expected.txt
@@ -1,122 +1,122 @@
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
+ LayoutSVGRoot {svg} at (0,0) size 450x500
LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
- LayoutSVGText {text} at (172,16) size 106x17 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 105x17
+ LayoutSVGText {text} at (172.97,16) size 104.05x17 contains 1 chunk(s)
+ LayoutSVGInlineText {#text} at (172.97,16) size 104.05x17
chunk 1 (middle anchor) text run 1 at (172.97,30.00) startOffset 0 endOffset 15 width 104.05: "Text Position 2"
- LayoutSVGContainer {g} at (50,58) size 388x296
- LayoutSVGText {text} at (50,58) size 52x28 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 52x28
+ LayoutSVGContainer {g} at (50,58) size 387.81x295.09
+ LayoutSVGText {text} at (50,58) size 51.98x28 contains 1 chunk(s)
+ LayoutSVGInlineText {#text} at (50,58) size 51.98x28
chunk 1 text run 1 at (50.00,80.00) startOffset 0 endOffset 5 width 52.00: "Batik"
- LayoutSVGText {text} at (50,91) size 98x12 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 98x12
+ LayoutSVGText {text} at (50,91) size 97.03x11.09 contains 1 chunk(s)
+ LayoutSVGInlineText {#text} at (50,91) size 97.03x11.09
chunk 1 text run 1 at (50.00,100.00) startOffset 0 endOffset 21 width 97.04: "<text x=\"100\" y=\"80\">"
- LayoutSVGText {text} at (240,58) size 132x28 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 132x28
+ LayoutSVGText {text} at (240,58) size 131.98x28 contains 1 chunk(s)
+ LayoutSVGInlineText {#text} at (240,58) size 131.98x28
chunk 1 text run 1 at (240.00,80.00) startOffset 0 endOffset 1 width 16.01: "B"
chunk 1 text run 2 at (276.01,80.00) startOffset 1 endOffset 2 width 10.65: "a"
chunk 1 text run 3 at (306.66,80.00) startOffset 2 endOffset 3 width 6.67: "t"
chunk 1 text run 4 at (333.33,80.00) startOffset 3 endOffset 4 width 6.67: "i"
chunk 1 text run 5 at (360.00,80.00) startOffset 4 endOffset 5 width 12.00: "k"
- LayoutSVGText {text} at (240,91) size 184x12 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 184x12
+ LayoutSVGText {text} at (240,91) size 183.91x11.09 contains 1 chunk(s)
+ LayoutSVGInlineText {#text} at (240,91) size 183.91x11.09
chunk 1 text run 1 at (240.00,100.00) startOffset 0 endOffset 41 width 183.91: "<text x=\"240\" y=\"80\" letter-spacing=\"20\">"
LayoutSVGText {text} at (50,118) size 92x28 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 92x28
+ LayoutSVGInlineText {#text} at (50,118) size 92x28
chunk 1 text run 1 at (50.00,140.00) startOffset 0 endOffset 1 width 16.01: "B"
chunk 1 text run 1 at (70.00,140.00) startOffset 0 endOffset 1 width 10.65: "a"
chunk 1 text run 1 at (90.00,140.00) startOffset 0 endOffset 1 width 6.67: "t"
chunk 1 text run 1 at (110.00,140.00) startOffset 0 endOffset 1 width 6.67: "i"
chunk 1 text run 1 at (130.00,140.00) startOffset 0 endOffset 1 width 12.00: "k"
- LayoutSVGText {text} at (50,151) size 164x12 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 164x12
+ LayoutSVGText {text} at (50,151) size 163.02x11.09 contains 1 chunk(s)
+ LayoutSVGInlineText {#text} at (50,151) size 163.02x11.09
chunk 1 text run 1 at (50.00,160.00) startOffset 0 endOffset 35 width 163.03: "<text x=\"50 70 90 110 130\" y=\"140\">"
- LayoutSVGText {text} at (240,118) size 132x28 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 132x28
+ LayoutSVGText {text} at (240,118) size 131.98x28 contains 1 chunk(s)
+ LayoutSVGInlineText {#text} at (240,118) size 131.98x28
chunk 1 text run 1 at (240.00,140.00) startOffset 0 endOffset 1 width 16.01: "B"
chunk 1 text run 2 at (276.01,140.00) startOffset 1 endOffset 2 width 10.65: "a"
chunk 1 text run 3 at (306.66,140.00) startOffset 2 endOffset 3 width 6.67: "t"
chunk 1 text run 4 at (333.33,140.00) startOffset 3 endOffset 4 width 6.67: "i"
chunk 1 text run 5 at (360.00,140.00) startOffset 4 endOffset 5 width 12.00: "k"
- LayoutSVGText {text} at (240,151) size 164x12 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 164x12
+ LayoutSVGText {text} at (240,151) size 163.77x11.09 contains 1 chunk(s)
+ LayoutSVGInlineText {#text} at (240,151) size 163.77x11.09
chunk 1 text run 1 at (240.00,160.00) startOffset 0 endOffset 35 width 163.77: "<text dx=\"240 20 20 20 20\" y=\"140\">"
- LayoutSVGText {text} at (50,178) size 52x28 contains 1 chunk(s)
+ LayoutSVGText {text} at (50,178) size 51.98x28 contains 1 chunk(s)
LayoutSVGTSpan {tspan} at (0,0) size 52x28
- LayoutSVGInlineText {#text} at (0,0) size 52x28
+ LayoutSVGInlineText {#text} at (50,178) size 51.98x28
chunk 1 text run 1 at (50.00,200.00) startOffset 0 endOffset 5 width 52.00: "Batik"
- LayoutSVGText {text} at (50,211) size 106x12 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 106x12
+ LayoutSVGText {text} at (50,211) size 105.38x11.09 contains 1 chunk(s)
+ LayoutSVGInlineText {#text} at (50,211) size 105.38x11.09
chunk 1 text run 1 at (50.00,220.00) startOffset 0 endOffset 22 width 105.39: "<tspan x=\"50\" y=\"200\">"
- LayoutSVGText {text} at (240,178) size 132x28 contains 1 chunk(s)
+ LayoutSVGText {text} at (240,178) size 131.98x28 contains 1 chunk(s)
LayoutSVGTSpan {tspan} at (0,0) size 132x28
- LayoutSVGInlineText {#text} at (0,0) size 132x28
+ LayoutSVGInlineText {#text} at (240,178) size 131.98x28
chunk 1 text run 1 at (240.00,200.00) startOffset 0 endOffset 1 width 16.01: "B"
chunk 1 text run 2 at (276.01,200.00) startOffset 1 endOffset 2 width 10.65: "a"
chunk 1 text run 3 at (306.66,200.00) startOffset 2 endOffset 3 width 6.67: "t"
chunk 1 text run 4 at (333.33,200.00) startOffset 3 endOffset 4 width 6.67: "i"
chunk 1 text run 5 at (360.00,200.00) startOffset 4 endOffset 5 width 12.00: "k"
- LayoutSVGText {text} at (240,211) size 198x12 contains 1 chunk(s)
+ LayoutSVGText {text} at (240,211) size 197.81x11.09 contains 1 chunk(s)
LayoutSVGTSpan {tspan} at (0,0) size 198x12
- LayoutSVGInlineText {#text} at (0,0) size 198x12
+ LayoutSVGInlineText {#text} at (240,211) size 197.81x11.09
chunk 1 text run 1 at (240.00,220.00) startOffset 0 endOffset 43 width 197.82: "<tspan x=\"240\" y=\"200\" letter-spacing=\"20\">"
LayoutSVGText {text} at (50,238) size 92x28 contains 1 chunk(s)
LayoutSVGTSpan {tspan} at (0,0) size 92x28
- LayoutSVGInlineText {#text} at (0,0) size 92x28
+ LayoutSVGInlineText {#text} at (50,238) size 92x28
chunk 1 text run 1 at (50.00,260.00) startOffset 0 endOffset 1 width 16.01: "B"
chunk 1 text run 1 at (70.00,260.00) startOffset 0 endOffset 1 width 10.65: "a"
chunk 1 text run 1 at (90.00,260.00) startOffset 0 endOffset 1 width 6.67: "t"
chunk 1 text run 1 at (110.00,260.00) startOffset 0 endOffset 1 width 6.67: "i"
chunk 1 text run 1 at (130.00,260.00) startOffset 0 endOffset 1 width 12.00: "k"
- LayoutSVGText {text} at (50,271) size 172x12 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 172x12
+ LayoutSVGText {text} at (50,271) size 171.36x11.09 contains 1 chunk(s)
+ LayoutSVGInlineText {#text} at (50,271) size 171.36x11.09
chunk 1 text run 1 at (50.00,280.00) startOffset 0 endOffset 36 width 171.37: "<tspan x=\"50 70 90 110 130\" y=\"260\">"
- LayoutSVGText {text} at (240,238) size 132x28 contains 1 chunk(s)
+ LayoutSVGText {text} at (240,238) size 131.98x28 contains 1 chunk(s)
LayoutSVGTSpan {tspan} at (0,0) size 132x28
- LayoutSVGInlineText {#text} at (0,0) size 132x28
+ LayoutSVGInlineText {#text} at (240,238) size 131.98x28
chunk 1 text run 1 at (240.00,260.00) startOffset 0 endOffset 1 width 16.01: "B"
chunk 1 text run 2 at (276.01,260.00) startOffset 1 endOffset 2 width 10.65: "a"
chunk 1 text run 3 at (306.66,260.00) startOffset 2 endOffset 3 width 6.67: "t"
chunk 1 text run 4 at (333.33,260.00) startOffset 3 endOffset 4 width 6.67: "i"
chunk 1 text run 5 at (360.00,260.00) startOffset 4 endOffset 5 width 12.00: "k"
- LayoutSVGText {text} at (240,271) size 173x12 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 173x12
+ LayoutSVGText {text} at (240,271) size 172.11x11.09 contains 1 chunk(s)
+ LayoutSVGInlineText {#text} at (240,271) size 172.11x11.09
chunk 1 text run 1 at (240.00,280.00) startOffset 0 endOffset 36 width 172.11: "<tspan dx=\"240 20 20 20 20\" y=\"260\">"
LayoutSVGText {text} at (50,298) size 92x28 contains 1 chunk(s)
LayoutSVGTSpan {tspan} at (0,0) size 92x28
- LayoutSVGInlineText {#text} at (0,0) size 92x28
+ LayoutSVGInlineText {#text} at (50,298) size 92x28
chunk 1 text run 1 at (50.00,320.00) startOffset 0 endOffset 1 width 16.01: "B"
chunk 1 text run 1 at (70.00,320.00) startOffset 0 endOffset 1 width 10.65: "a"
chunk 1 text run 1 at (90.00,320.00) startOffset 0 endOffset 1 width 6.67: "t"
chunk 1 text run 1 at (110.00,320.00) startOffset 0 endOffset 1 width 6.67: "i"
chunk 1 text run 1 at (130.00,320.00) startOffset 0 endOffset 1 width 12.00: "k"
- LayoutSVGText {text} at (50,331) size 161x23 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 121x11
+ LayoutSVGText {text} at (50,331) size 160.91x22.09 contains 1 chunk(s)
+ LayoutSVGInlineText {#text} at (50,331) size 120.52x11
chunk 1 text run 1 at (50.00,340.00) startOffset 0 endOffset 26 width 120.53: "<tspan x=\"50 60 70 80 90\" "
LayoutSVGTSpan {tspan} at (0,0) size 128x12
- LayoutSVGInlineText {#text} at (33,11) size 128x12
+ LayoutSVGInlineText {#text} at (83,342) size 127.91x11.09
chunk 1 text run 1 at (83.00,351.00) startOffset 0 endOffset 27 width 127.91: "dx=\"0 10 20 30 40\" y=\"320\">"
- LayoutSVGText {text} at (240,298) size 132x28 contains 1 chunk(s)
+ LayoutSVGText {text} at (240,298) size 131.98x28 contains 1 chunk(s)
LayoutSVGTSpan {tspan} at (0,0) size 132x28
- LayoutSVGInlineText {#text} at (0,0) size 132x28
+ LayoutSVGInlineText {#text} at (240,298) size 131.98x28
chunk 1 text run 1 at (240.00,320.00) startOffset 0 endOffset 1 width 16.01: "B"
chunk 1 text run 2 at (276.01,320.00) startOffset 1 endOffset 2 width 10.65: "a"
chunk 1 text run 3 at (306.66,320.00) startOffset 2 endOffset 3 width 6.67: "t"
chunk 1 text run 4 at (333.33,320.00) startOffset 3 endOffset 4 width 6.67: "i"
chunk 1 text run 5 at (360.00,320.00) startOffset 4 endOffset 5 width 12.00: "k"
- LayoutSVGText {text} at (240,331) size 184x23 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 158x11
+ LayoutSVGText {text} at (240,331) size 183.67x22.09 contains 1 chunk(s)
+ LayoutSVGInlineText {#text} at (240,331) size 157.92x11
chunk 1 text run 1 at (240.00,340.00) startOffset 0 endOffset 34 width 157.93: "<tspan x=\"240\" dx=\"0 10 10 10 10\" "
LayoutSVGTSpan {tspan} at (0,0) size 151x12
- LayoutSVGInlineText {#text} at (33,11) size 151x12
+ LayoutSVGInlineText {#text} at (273,342) size 150.67x11.09
chunk 1 text run 1 at (273.00,351.00) startOffset 0 endOffset 34 width 150.67: "y=\"320\" style=\"letter-spacing:10\">"
- 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