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

Unified Diff: third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textAnchor2-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/win/svg/batik/text/textAnchor2-expected.txt
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textAnchor2-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textAnchor2-expected.txt
index 320fb88f8a845e2e722098966af8a56d1cbbdb00..9f91643c12b961ef9d20602034b1c6fd6b37da9c 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textAnchor2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textAnchor2-expected.txt
@@ -1,116 +1,116 @@
layer at (0,0) size 800x600
LayoutView at (0,0) size 800x600
layer at (0,0) size 450x500
- LayoutSVGRoot {svg} at (74,16) size 302x475
- LayoutSVGText {text} at (112,16) size 226x17 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 225x17
+ LayoutSVGRoot {svg} at (0,0) size 450x500
+ LayoutSVGText {text} at (112.92,16) size 224.14x17 contains 1 chunk(s)
+ LayoutSVGInlineText {#text} at (112.92,16) size 224.14x17
chunk 1 (middle anchor) text run 1 at (112.93,30.00) startOffset 0 endOffset 31 width 224.15: "text-anchor on a single <tspan>"
- LayoutSVGContainer {g} at (74,49) size 302x442
- LayoutSVGContainer {g} at (74,49) size 302x142
- LayoutSVGRect {rect} at (74,49) size 302x22 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#000000]}] [x=75.00] [y=50.00] [width=300.00] [height=20.00]
- LayoutSVGRect {rect} at (74,69) size 302x42 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#EEEEEE]}] [x=75.00] [y=70.00] [width=300.00] [height=40.00]
- LayoutSVGRect {rect} at (74,109) size 302x42 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#FFFFFF]}] [x=75.00] [y=110.00] [width=300.00] [height=40.00]
- LayoutSVGRect {rect} at (74,149) size 302x42 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#EEEEEE]}] [x=75.00] [y=150.00] [width=300.00] [height=40.00]
+ LayoutSVGContainer {g} at (75,50) size 300x440
+ LayoutSVGContainer {g} at (75,50) size 300x140
+ LayoutSVGRect {rect} at (75,50) size 300x20 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#000000]}] [x=75.00] [y=50.00] [width=300.00] [height=20.00]
+ LayoutSVGRect {rect} at (75,70) size 300x40 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#EEEEEE]}] [x=75.00] [y=70.00] [width=300.00] [height=40.00]
+ LayoutSVGRect {rect} at (75,110) size 300x40 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#FFFFFF]}] [x=75.00] [y=110.00] [width=300.00] [height=40.00]
+ LayoutSVGRect {rect} at (75,150) size 300x40 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#EEEEEE]}] [x=75.00] [y=150.00] [width=300.00] [height=40.00]
LayoutSVGText {text} at (90,51) size 193x16 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 193x16
+ LayoutSVGInlineText {#text} at (90,51) size 193x16
chunk 1 text run 1 at (90.00,64.00) startOffset 0 endOffset 34 width 193.00: "x attribute define new text chunks"
- LayoutSVGContainer {g} at (144,70) size 162x120
- LayoutSVGPath {line} at (144,70) size 2x120 [stroke={[type=SOLID] [color=#DC143C]}] [x1=145.00] [y1=70.00] [x2=145.00] [y2=190.00]
- LayoutSVGPath {line} at (184,70) size 2x120 [stroke={[type=SOLID] [color=#DC143C]}] [x1=185.00] [y1=70.00] [x2=185.00] [y2=190.00]
- LayoutSVGPath {line} at (224,70) size 2x120 [stroke={[type=SOLID] [color=#DC143C]}] [x1=225.00] [y1=70.00] [x2=225.00] [y2=190.00]
- LayoutSVGPath {line} at (264,70) size 2x120 [stroke={[type=SOLID] [color=#DC143C]}] [x1=265.00] [y1=70.00] [x2=265.00] [y2=190.00]
- LayoutSVGPath {line} at (304,70) size 2x120 [stroke={[type=SOLID] [color=#DC143C]}] [x1=305.00] [y1=70.00] [x2=305.00] [y2=190.00]
- LayoutSVGContainer {g} at (74,199) size 302x142 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,150.00)}]
- LayoutSVGRect {rect} at (74,199) size 302x22 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#000000]}] [x=75.00] [y=50.00] [width=300.00] [height=20.00]
- LayoutSVGRect {rect} at (74,219) size 302x42 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#EEEEEE]}] [x=75.00] [y=70.00] [width=300.00] [height=40.00]
- LayoutSVGRect {rect} at (74,259) size 302x42 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#FFFFFF]}] [x=75.00] [y=110.00] [width=300.00] [height=40.00]
- LayoutSVGRect {rect} at (74,299) size 302x42 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#EEEEEE]}] [x=75.00] [y=150.00] [width=300.00] [height=40.00]
+ LayoutSVGContainer {g} at (145,70) size 160x120
+ LayoutSVGPath {line} at (145,70) size 0x120 [stroke={[type=SOLID] [color=#DC143C]}] [x1=145.00] [y1=70.00] [x2=145.00] [y2=190.00]
+ LayoutSVGPath {line} at (185,70) size 0x120 [stroke={[type=SOLID] [color=#DC143C]}] [x1=185.00] [y1=70.00] [x2=185.00] [y2=190.00]
+ LayoutSVGPath {line} at (225,70) size 0x120 [stroke={[type=SOLID] [color=#DC143C]}] [x1=225.00] [y1=70.00] [x2=225.00] [y2=190.00]
+ LayoutSVGPath {line} at (265,70) size 0x120 [stroke={[type=SOLID] [color=#DC143C]}] [x1=265.00] [y1=70.00] [x2=265.00] [y2=190.00]
+ LayoutSVGPath {line} at (305,70) size 0x120 [stroke={[type=SOLID] [color=#DC143C]}] [x1=305.00] [y1=70.00] [x2=305.00] [y2=190.00]
+ LayoutSVGContainer {g} at (75,50) size 300x140 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,150.00)}]
+ LayoutSVGRect {rect} at (75,50) size 300x20 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#000000]}] [x=75.00] [y=50.00] [width=300.00] [height=20.00]
+ LayoutSVGRect {rect} at (75,70) size 300x40 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#EEEEEE]}] [x=75.00] [y=70.00] [width=300.00] [height=40.00]
+ LayoutSVGRect {rect} at (75,110) size 300x40 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#FFFFFF]}] [x=75.00] [y=110.00] [width=300.00] [height=40.00]
+ LayoutSVGRect {rect} at (75,150) size 300x40 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#EEEEEE]}] [x=75.00] [y=150.00] [width=300.00] [height=40.00]
LayoutSVGText {text} at (90,51) size 239x16 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 239x16
+ LayoutSVGInlineText {#text} at (90,51) size 239x16
chunk 1 text run 1 at (90.00,64.00) startOffset 0 endOffset 42 width 239.00: "y attribute does not define new text chunk"
- LayoutSVGContainer {g} at (224,220) size 2x120
- LayoutSVGPath {line} at (224,220) size 2x120 [stroke={[type=SOLID] [color=#DC143C]}] [x1=225.00] [y1=70.00] [x2=225.00] [y2=190.00]
- LayoutSVGContainer {g} at (74,349) size 302x142 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,300.00)}]
- LayoutSVGRect {rect} at (74,349) size 302x22 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#000000]}] [x=75.00] [y=50.00] [width=300.00] [height=20.00]
- LayoutSVGRect {rect} at (74,369) size 302x42 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#EEEEEE]}] [x=75.00] [y=70.00] [width=300.00] [height=40.00]
- LayoutSVGRect {rect} at (74,409) size 302x42 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#FFFFFF]}] [x=75.00] [y=110.00] [width=300.00] [height=40.00]
- LayoutSVGRect {rect} at (74,449) size 302x42 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#EEEEEE]}] [x=75.00] [y=150.00] [width=300.00] [height=40.00]
+ LayoutSVGContainer {g} at (225,70) size 0x120
+ LayoutSVGPath {line} at (225,70) size 0x120 [stroke={[type=SOLID] [color=#DC143C]}] [x1=225.00] [y1=70.00] [x2=225.00] [y2=190.00]
+ LayoutSVGContainer {g} at (75,50) size 300x140 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,300.00)}]
+ LayoutSVGRect {rect} at (75,50) size 300x20 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#000000]}] [x=75.00] [y=50.00] [width=300.00] [height=20.00]
+ LayoutSVGRect {rect} at (75,70) size 300x40 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#EEEEEE]}] [x=75.00] [y=70.00] [width=300.00] [height=40.00]
+ LayoutSVGRect {rect} at (75,110) size 300x40 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#FFFFFF]}] [x=75.00] [y=110.00] [width=300.00] [height=40.00]
+ LayoutSVGRect {rect} at (75,150) size 300x40 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#EEEEEE]}] [x=75.00] [y=150.00] [width=300.00] [height=40.00]
LayoutSVGText {text} at (90,51) size 225x16 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 225x16
+ LayoutSVGInlineText {#text} at (90,51) size 225x16
chunk 1 text run 1 at (90.00,64.00) startOffset 0 endOffset 39 width 225.00: "x & y attributes define new text chunks"
- LayoutSVGContainer {g} at (144,370) size 162x120
- LayoutSVGPath {line} at (144,370) size 2x120 [stroke={[type=SOLID] [color=#DC143C]}] [x1=145.00] [y1=70.00] [x2=145.00] [y2=190.00]
- LayoutSVGPath {line} at (184,370) size 2x120 [stroke={[type=SOLID] [color=#DC143C]}] [x1=185.00] [y1=70.00] [x2=185.00] [y2=190.00]
- LayoutSVGPath {line} at (224,370) size 2x120 [stroke={[type=SOLID] [color=#DC143C]}] [x1=225.00] [y1=70.00] [x2=225.00] [y2=190.00]
- LayoutSVGPath {line} at (264,370) size 2x120 [stroke={[type=SOLID] [color=#DC143C]}] [x1=265.00] [y1=70.00] [x2=265.00] [y2=190.00]
- LayoutSVGPath {line} at (304,370) size 2x120 [stroke={[type=SOLID] [color=#DC143C]}] [x1=305.00] [y1=70.00] [x2=305.00] [y2=190.00]
- LayoutSVGText {text} at (0,-14) size 168x17 contains 1 chunk(s)
+ LayoutSVGContainer {g} at (145,70) size 160x120
+ LayoutSVGPath {line} at (145,70) size 0x120 [stroke={[type=SOLID] [color=#DC143C]}] [x1=145.00] [y1=70.00] [x2=145.00] [y2=190.00]
+ LayoutSVGPath {line} at (185,70) size 0x120 [stroke={[type=SOLID] [color=#DC143C]}] [x1=185.00] [y1=70.00] [x2=185.00] [y2=190.00]
+ LayoutSVGPath {line} at (225,70) size 0x120 [stroke={[type=SOLID] [color=#DC143C]}] [x1=225.00] [y1=70.00] [x2=225.00] [y2=190.00]
+ LayoutSVGPath {line} at (265,70) size 0x120 [stroke={[type=SOLID] [color=#DC143C]}] [x1=265.00] [y1=70.00] [x2=265.00] [y2=190.00]
+ LayoutSVGPath {line} at (305,70) size 0x120 [stroke={[type=SOLID] [color=#DC143C]}] [x1=305.00] [y1=70.00] [x2=305.00] [y2=190.00]
+ LayoutSVGText {text} at (0,-14) size 168x17 [transform={m=((1.00,0.00)(0.00,1.00)) t=(145.00,94.00)}] contains 1 chunk(s)
LayoutSVGTSpan {tspan} at (0,0) size 168x17
- LayoutSVGInlineText {#text} at (0,0) size 168x17
+ LayoutSVGInlineText {#text} at (0,-14) size 168x17
chunk 1 text run 1 at (0.00,0.00) startOffset 0 endOffset 1 width 10.67: "B"
chunk 1 text run 1 at (40.00,0.00) startOffset 0 endOffset 1 width 7.10: "a"
chunk 1 text run 1 at (80.00,0.00) startOffset 0 endOffset 1 width 4.45: "t"
chunk 1 text run 1 at (120.00,0.00) startOffset 0 endOffset 1 width 4.45: "i"
chunk 1 text run 1 at (160.00,0.00) startOffset 0 endOffset 1 width 8.00: "k"
- LayoutSVGText {text} at (-6,-14) size 170x17 contains 1 chunk(s)
+ LayoutSVGText {text} at (-5.33,-14) size 169.33x17 [transform={m=((1.00,0.00)(0.00,1.00)) t=(145.00,134.00)}] contains 1 chunk(s)
LayoutSVGTSpan {tspan} at (0,0) size 170x17
- LayoutSVGInlineText {#text} at (0,0) size 170x17
+ LayoutSVGInlineText {#text} at (-5.33,-14) size 169.33x17
chunk 1 (middle anchor) text run 1 at (-5.34,0.00) startOffset 0 endOffset 1 width 10.67: "B"
chunk 1 (middle anchor) text run 1 at (36.45,0.00) startOffset 0 endOffset 1 width 7.10: "a"
chunk 1 (middle anchor) text run 1 at (77.78,0.00) startOffset 0 endOffset 1 width 4.45: "t"
chunk 1 (middle anchor) text run 1 at (117.78,0.00) startOffset 0 endOffset 1 width 4.45: "i"
chunk 1 (middle anchor) text run 1 at (156.00,0.00) startOffset 0 endOffset 1 width 8.00: "k"
- LayoutSVGText {text} at (-11,-14) size 171x17 contains 1 chunk(s)
+ LayoutSVGText {text} at (-10.67,-14) size 170.67x17 [transform={m=((1.00,0.00)(0.00,1.00)) t=(145.00,174.00)}] contains 1 chunk(s)
LayoutSVGTSpan {tspan} at (0,0) size 171x17
- LayoutSVGInlineText {#text} at (0,0) size 171x17
+ LayoutSVGInlineText {#text} at (-10.67,-14) size 170.67x17
chunk 1 (end anchor) text run 1 at (-10.67,0.00) startOffset 0 endOffset 1 width 10.67: "B"
chunk 1 (end anchor) text run 1 at (32.90,0.00) startOffset 0 endOffset 1 width 7.10: "a"
chunk 1 (end anchor) text run 1 at (75.55,0.00) startOffset 0 endOffset 1 width 4.45: "t"
chunk 1 (end anchor) text run 1 at (115.55,0.00) startOffset 0 endOffset 1 width 4.45: "i"
chunk 1 (end anchor) text run 1 at (152.00,0.00) startOffset 0 endOffset 1 width 8.00: "k"
- LayoutSVGText {text} at (0,-14) size 35x27 contains 1 chunk(s)
+ LayoutSVGText {text} at (0,-14) size 34.66x27 [transform={m=((1.00,0.00)(0.00,1.00)) t=(225.00,240.00)}] contains 1 chunk(s)
LayoutSVGTSpan {tspan} at (0,0) size 35x27
- LayoutSVGInlineText {#text} at (0,0) size 35x27
+ LayoutSVGInlineText {#text} at (0,-14) size 34.66x27
chunk 1 text run 1 at (0.00,0.00) startOffset 0 endOffset 1 width 10.67: "B"
chunk 1 text run 1 at (10.67,10.00) startOffset 0 endOffset 1 width 7.10: "a"
chunk 1 text run 1 at (17.77,0.00) startOffset 0 endOffset 1 width 4.45: "t"
chunk 1 text run 1 at (22.22,10.00) startOffset 0 endOffset 1 width 4.45: "i"
chunk 1 text run 1 at (26.66,0.00) startOffset 0 endOffset 1 width 8.00: "k"
- LayoutSVGText {text} at (-6,-14) size 37x27 contains 1 chunk(s)
+ LayoutSVGText {text} at (-5.33,-14) size 35.98x27 [transform={m=((1.00,0.00)(0.00,1.00)) t=(225.00,280.00)}] contains 1 chunk(s)
LayoutSVGTSpan {tspan} at (0,0) size 36x27
- LayoutSVGInlineText {#text} at (0,0) size 36x27
+ LayoutSVGInlineText {#text} at (-5.33,-14) size 35.98x27
chunk 1 (middle anchor) text run 1 at (-5.34,0.00) startOffset 0 endOffset 1 width 10.67: "B"
chunk 1 (middle anchor) text run 1 at (7.12,10.00) startOffset 0 endOffset 1 width 7.10: "a"
chunk 1 (middle anchor) text run 1 at (15.55,0.00) startOffset 0 endOffset 1 width 4.45: "t"
chunk 1 (middle anchor) text run 1 at (20.00,10.00) startOffset 0 endOffset 1 width 4.45: "i"
chunk 1 (middle anchor) text run 1 at (22.66,0.00) startOffset 0 endOffset 1 width 8.00: "k"
- LayoutSVGText {text} at (-11,-14) size 38x27 contains 1 chunk(s)
+ LayoutSVGText {text} at (-10.67,-14) size 37.33x27 [transform={m=((1.00,0.00)(0.00,1.00)) t=(225.00,320.00)}] contains 1 chunk(s)
LayoutSVGTSpan {tspan} at (0,0) size 38x27
- LayoutSVGInlineText {#text} at (0,0) size 38x27
+ LayoutSVGInlineText {#text} at (-10.67,-14) size 37.33x27
chunk 1 (end anchor) text run 1 at (-10.67,0.00) startOffset 0 endOffset 1 width 10.67: "B"
chunk 1 (end anchor) text run 1 at (3.57,10.00) startOffset 0 endOffset 1 width 7.10: "a"
chunk 1 (end anchor) text run 1 at (13.33,0.00) startOffset 0 endOffset 1 width 4.45: "t"
chunk 1 (end anchor) text run 1 at (17.77,10.00) startOffset 0 endOffset 1 width 4.45: "i"
chunk 1 (end anchor) text run 1 at (18.66,0.00) startOffset 0 endOffset 1 width 8.00: "k"
- LayoutSVGText {text} at (0,-14) size 168x27 contains 1 chunk(s)
+ LayoutSVGText {text} at (0,-14) size 168x27 [transform={m=((1.00,0.00)(0.00,1.00)) t=(145.00,390.00)}] contains 1 chunk(s)
LayoutSVGTSpan {tspan} at (0,0) size 168x27
- LayoutSVGInlineText {#text} at (0,0) size 168x27
+ LayoutSVGInlineText {#text} at (0,-14) size 168x27
chunk 1 text run 1 at (0.00,0.00) startOffset 0 endOffset 1 width 10.67: "B"
chunk 1 text run 1 at (40.00,10.00) startOffset 0 endOffset 1 width 7.10: "a"
chunk 1 text run 1 at (80.00,0.00) startOffset 0 endOffset 1 width 4.45: "t"
chunk 1 text run 1 at (120.00,10.00) startOffset 0 endOffset 1 width 4.45: "i"
chunk 1 text run 1 at (160.00,0.00) startOffset 0 endOffset 1 width 8.00: "k"
- LayoutSVGText {text} at (-6,-14) size 170x27 contains 1 chunk(s)
+ LayoutSVGText {text} at (-5.33,-14) size 169.33x27 [transform={m=((1.00,0.00)(0.00,1.00)) t=(145.00,430.00)}] contains 1 chunk(s)
LayoutSVGTSpan {tspan} at (0,0) size 170x27
- LayoutSVGInlineText {#text} at (0,0) size 170x27
+ LayoutSVGInlineText {#text} at (-5.33,-14) size 169.33x27
chunk 1 (middle anchor) text run 1 at (-5.34,0.00) startOffset 0 endOffset 1 width 10.67: "B"
chunk 1 (middle anchor) text run 1 at (36.45,10.00) startOffset 0 endOffset 1 width 7.10: "a"
chunk 1 (middle anchor) text run 1 at (77.78,0.00) startOffset 0 endOffset 1 width 4.45: "t"
chunk 1 (middle anchor) text run 1 at (117.78,10.00) startOffset 0 endOffset 1 width 4.45: "i"
chunk 1 (middle anchor) text run 1 at (156.00,0.00) startOffset 0 endOffset 1 width 8.00: "k"
- LayoutSVGText {text} at (-11,-14) size 171x27 contains 1 chunk(s)
+ LayoutSVGText {text} at (-10.67,-14) size 170.67x27 [transform={m=((1.00,0.00)(0.00,1.00)) t=(145.00,470.00)}] contains 1 chunk(s)
LayoutSVGTSpan {tspan} at (0,0) size 171x27
- LayoutSVGInlineText {#text} at (0,0) size 171x27
+ LayoutSVGInlineText {#text} at (-10.67,-14) size 170.67x27
chunk 1 (end anchor) text run 1 at (-10.67,0.00) startOffset 0 endOffset 1 width 10.67: "B"
chunk 1 (end anchor) text run 1 at (32.90,10.00) startOffset 0 endOffset 1 width 7.10: "a"
chunk 1 (end anchor) text run 1 at (75.55,0.00) startOffset 0 endOffset 1 width 4.45: "t"

Powered by Google App Engine
This is Rietveld 408576698