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

Unified Diff: third_party/WebKit/LayoutTests/platform/linux/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/linux/svg/batik/text/textPosition2-expected.txt
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textPosition2-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textPosition2-expected.txt
index 06d117179ea648d5ccdf3735d576e6d9d6351910..e13b00e29ce6cd87bab7c6f007e30a59b6569709 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textPosition2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textPosition2-expected.txt
@@ -1,58 +1,58 @@
layer at (0,0) size 800x600
LayoutView at (0,0) size 800x600
layer at (0,0) size 450x500
- LayoutSVGRoot {svg} at (0,0) size 450x498
+ LayoutSVGRoot {svg} at (0,0) size 450x500
LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
- LayoutSVGText {text} at (174,15) size 102x18 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 102x18
+ LayoutSVGText {text} at (174.38,15) size 101.22x18 contains 1 chunk(s)
+ LayoutSVGInlineText {#text} at (174.38,15) size 101.22x18
chunk 1 (middle anchor) text run 1 at (174.39,30.00) startOffset 0 endOffset 15 width 101.23: "Text Position 2"
LayoutSVGContainer {g} at (50,59) size 400x295
LayoutSVGText {text} at (50,59) size 52x27 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 52x27
+ LayoutSVGInlineText {#text} at (50,59) size 52x27
chunk 1 text run 1 at (50.00,80.00) startOffset 0 endOffset 5 width 52.00: "Batik"
LayoutSVGText {text} at (50,90) size 103x13 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 103x13
+ LayoutSVGInlineText {#text} at (50,90) size 103x13
chunk 1 text run 1 at (50.00,100.00) startOffset 0 endOffset 21 width 103.00: "<text x=\"100\" y=\"80\">"
LayoutSVGText {text} at (240,59) size 132x27 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 132x27
+ LayoutSVGInlineText {#text} at (240,59) size 132x27
chunk 1 text run 1 at (240.00,80.00) startOffset 0 endOffset 1 width 16.00: "B"
chunk 1 text run 2 at (276.00,80.00) startOffset 1 endOffset 2 width 11.00: "a"
chunk 1 text run 3 at (307.00,80.00) startOffset 2 endOffset 3 width 7.00: "t"
chunk 1 text run 4 at (334.00,80.00) startOffset 3 endOffset 4 width 6.00: "i"
chunk 1 text run 5 at (360.00,80.00) startOffset 4 endOffset 5 width 12.00: "k"
LayoutSVGText {text} at (240,90) size 196x13 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 196x13
+ LayoutSVGInlineText {#text} at (240,90) size 196x13
chunk 1 text run 1 at (240.00,100.00) startOffset 0 endOffset 41 width 196.00: "<text x=\"240\" y=\"80\" letter-spacing=\"20\">"
LayoutSVGText {text} at (50,119) size 92x27 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 92x27
+ LayoutSVGInlineText {#text} at (50,119) size 92x27
chunk 1 text run 1 at (50.00,140.00) startOffset 0 endOffset 1 width 16.00: "B"
chunk 1 text run 1 at (70.00,140.00) startOffset 0 endOffset 1 width 11.00: "a"
chunk 1 text run 1 at (90.00,140.00) startOffset 0 endOffset 1 width 7.00: "t"
chunk 1 text run 1 at (110.00,140.00) startOffset 0 endOffset 1 width 6.00: "i"
chunk 1 text run 1 at (130.00,140.00) startOffset 0 endOffset 1 width 12.00: "k"
- LayoutSVGText {text} at (50,150) size 175x13 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 175x13
+ LayoutSVGText {text} at (50,150) size 174.25x13 contains 1 chunk(s)
+ LayoutSVGInlineText {#text} at (50,150) size 174.25x13
chunk 1 text run 1 at (50.00,160.00) startOffset 0 endOffset 35 width 174.26: "<text x=\"50 70 90 110 130\" y=\"140\">"
LayoutSVGText {text} at (240,119) size 132x27 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 132x27
+ LayoutSVGInlineText {#text} at (240,119) size 132x27
chunk 1 text run 1 at (240.00,140.00) startOffset 0 endOffset 1 width 16.00: "B"
chunk 1 text run 2 at (276.00,140.00) startOffset 1 endOffset 2 width 11.00: "a"
chunk 1 text run 3 at (307.00,140.00) startOffset 2 endOffset 3 width 7.00: "t"
chunk 1 text run 4 at (334.00,140.00) startOffset 3 endOffset 4 width 6.00: "i"
chunk 1 text run 5 at (360.00,140.00) startOffset 4 endOffset 5 width 12.00: "k"
LayoutSVGText {text} at (240,150) size 175x13 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 175x13
+ LayoutSVGInlineText {#text} at (240,150) size 175x13
chunk 1 text run 1 at (240.00,160.00) startOffset 0 endOffset 35 width 175.00: "<text dx=\"240 20 20 20 20\" y=\"140\">"
LayoutSVGText {text} at (50,179) size 52x27 contains 1 chunk(s)
LayoutSVGTSpan {tspan} at (0,0) size 52x27
- LayoutSVGInlineText {#text} at (0,0) size 52x27
+ LayoutSVGInlineText {#text} at (50,179) size 52x27
chunk 1 text run 1 at (50.00,200.00) startOffset 0 endOffset 5 width 52.00: "Batik"
LayoutSVGText {text} at (50,210) size 111x13 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 111x13
+ LayoutSVGInlineText {#text} at (50,210) size 111x13
chunk 1 text run 1 at (50.00,220.00) startOffset 0 endOffset 22 width 111.00: "<tspan x=\"50\" y=\"200\">"
LayoutSVGText {text} at (240,179) size 132x27 contains 1 chunk(s)
LayoutSVGTSpan {tspan} at (0,0) size 132x27
- LayoutSVGInlineText {#text} at (0,0) size 132x27
+ LayoutSVGInlineText {#text} at (240,179) size 132x27
chunk 1 text run 1 at (240.00,200.00) startOffset 0 endOffset 1 width 16.00: "B"
chunk 1 text run 2 at (276.00,200.00) startOffset 1 endOffset 2 width 11.00: "a"
chunk 1 text run 3 at (307.00,200.00) startOffset 2 endOffset 3 width 7.00: "t"
@@ -60,63 +60,63 @@ layer at (0,0) size 450x500
chunk 1 text run 5 at (360.00,200.00) startOffset 4 endOffset 5 width 12.00: "k"
LayoutSVGText {text} at (240,210) size 210x13 contains 1 chunk(s)
LayoutSVGTSpan {tspan} at (0,0) size 210x13
- LayoutSVGInlineText {#text} at (0,0) size 210x13
+ LayoutSVGInlineText {#text} at (240,210) size 210x13
chunk 1 text run 1 at (240.00,220.00) startOffset 0 endOffset 43 width 210.00: "<tspan x=\"240\" y=\"200\" letter-spacing=\"20\">"
LayoutSVGText {text} at (50,239) size 92x27 contains 1 chunk(s)
LayoutSVGTSpan {tspan} at (0,0) size 92x27
- LayoutSVGInlineText {#text} at (0,0) size 92x27
+ LayoutSVGInlineText {#text} at (50,239) size 92x27
chunk 1 text run 1 at (50.00,260.00) startOffset 0 endOffset 1 width 16.00: "B"
chunk 1 text run 1 at (70.00,260.00) startOffset 0 endOffset 1 width 11.00: "a"
chunk 1 text run 1 at (90.00,260.00) startOffset 0 endOffset 1 width 7.00: "t"
chunk 1 text run 1 at (110.00,260.00) startOffset 0 endOffset 1 width 6.00: "i"
chunk 1 text run 1 at (130.00,260.00) startOffset 0 endOffset 1 width 12.00: "k"
- LayoutSVGText {text} at (50,270) size 183x13 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 183x13
+ LayoutSVGText {text} at (50,270) size 182.25x13 contains 1 chunk(s)
+ LayoutSVGInlineText {#text} at (50,270) size 182.25x13
chunk 1 text run 1 at (50.00,280.00) startOffset 0 endOffset 36 width 182.26: "<tspan x=\"50 70 90 110 130\" y=\"260\">"
LayoutSVGText {text} at (240,239) size 132x27 contains 1 chunk(s)
LayoutSVGTSpan {tspan} at (0,0) size 132x27
- LayoutSVGInlineText {#text} at (0,0) size 132x27
+ LayoutSVGInlineText {#text} at (240,239) size 132x27
chunk 1 text run 1 at (240.00,260.00) startOffset 0 endOffset 1 width 16.00: "B"
chunk 1 text run 2 at (276.00,260.00) startOffset 1 endOffset 2 width 11.00: "a"
chunk 1 text run 3 at (307.00,260.00) startOffset 2 endOffset 3 width 7.00: "t"
chunk 1 text run 4 at (334.00,260.00) startOffset 3 endOffset 4 width 6.00: "i"
chunk 1 text run 5 at (360.00,260.00) startOffset 4 endOffset 5 width 12.00: "k"
LayoutSVGText {text} at (240,270) size 183x13 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 183x13
+ LayoutSVGInlineText {#text} at (240,270) size 183x13
chunk 1 text run 1 at (240.00,280.00) startOffset 0 endOffset 36 width 183.00: "<tspan dx=\"240 20 20 20 20\" y=\"260\">"
LayoutSVGText {text} at (50,299) size 92x27 contains 1 chunk(s)
LayoutSVGTSpan {tspan} at (0,0) size 92x27
- LayoutSVGInlineText {#text} at (0,0) size 92x27
+ LayoutSVGInlineText {#text} at (50,299) size 92x27
chunk 1 text run 1 at (50.00,320.00) startOffset 0 endOffset 1 width 16.00: "B"
chunk 1 text run 1 at (70.00,320.00) startOffset 0 endOffset 1 width 11.00: "a"
chunk 1 text run 1 at (90.00,320.00) startOffset 0 endOffset 1 width 7.00: "t"
chunk 1 text run 1 at (110.00,320.00) startOffset 0 endOffset 1 width 6.00: "i"
chunk 1 text run 1 at (130.00,320.00) startOffset 0 endOffset 1 width 12.00: "k"
LayoutSVGText {text} at (50,330) size 170x24 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 128x13
+ LayoutSVGInlineText {#text} at (50,330) size 128x13
chunk 1 text run 1 at (50.00,340.00) startOffset 0 endOffset 26 width 128.00: "<tspan x=\"50 60 70 80 90\" "
LayoutSVGTSpan {tspan} at (0,0) size 137x13
- LayoutSVGInlineText {#text} at (33,11) size 137x13
+ LayoutSVGInlineText {#text} at (83,341) size 137x13
chunk 1 text run 1 at (83.00,351.00) startOffset 0 endOffset 27 width 137.00: "dx=\"0 10 20 30 40\" y=\"320\">"
LayoutSVGText {text} at (240,299) size 132x27 contains 1 chunk(s)
LayoutSVGTSpan {tspan} at (0,0) size 132x27
- LayoutSVGInlineText {#text} at (0,0) size 132x27
+ LayoutSVGInlineText {#text} at (240,299) size 132x27
chunk 1 text run 1 at (240.00,320.00) startOffset 0 endOffset 1 width 16.00: "B"
chunk 1 text run 2 at (276.00,320.00) startOffset 1 endOffset 2 width 11.00: "a"
chunk 1 text run 3 at (307.00,320.00) startOffset 2 endOffset 3 width 7.00: "t"
chunk 1 text run 4 at (334.00,320.00) startOffset 3 endOffset 4 width 6.00: "i"
chunk 1 text run 5 at (360.00,320.00) startOffset 4 endOffset 5 width 12.00: "k"
LayoutSVGText {text} at (240,330) size 193x24 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 168x13
+ LayoutSVGInlineText {#text} at (240,330) size 168x13
chunk 1 text run 1 at (240.00,340.00) startOffset 0 endOffset 34 width 168.00: "<tspan x=\"240\" dx=\"0 10 10 10 10\" "
LayoutSVGTSpan {tspan} at (0,0) size 160x13
- LayoutSVGInlineText {#text} at (33,11) size 160x13
+ LayoutSVGInlineText {#text} at (273,341) size 160x13
chunk 1 text run 1 at (273.00,351.00) startOffset 0 endOffset 34 width 160.00: "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