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

Unified Diff: third_party/WebKit/LayoutTests/platform/win/svg/hixie/viewbox/preserveAspectRatio/002-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/hixie/viewbox/preserveAspectRatio/002-expected.txt
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/hixie/viewbox/preserveAspectRatio/002-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/hixie/viewbox/preserveAspectRatio/002-expected.txt
index 3b92d38686ac77aa5abe319e2437876a6243c86d..713cf510b5154968c9d62ca5c9e4830c41762029 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/hixie/viewbox/preserveAspectRatio/002-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/hixie/viewbox/preserveAspectRatio/002-expected.txt
@@ -2,29 +2,29 @@ layer at (0,0) size 800x600
LayoutView at (0,0) size 800x600
layer at (0,0) size 600x400
LayoutSVGRoot {svg} at (0,0) size 600x400
- LayoutSVGRect {rect} at (0,0) size 600x400 [fill={[type=SOLID] [color=#FF0000]}] [x=-100.00] [y=-100.00] [width=1000.00] [height=1000.00]
- LayoutSVGRect {rect} at (0,0) size 600x400 [fill={[type=SOLID] [color=#FFFFFF]}] [x=-26.00] [y=-1.00] [width=152.00] [height=102.00]
- LayoutSVGRect {rect} at (100,0) size 400x400 [fill={[type=SOLID] [color=#000080]}] [x=0.00] [y=0.00] [width=100.00] [height=100.00]
- LayoutSVGPath {line} at (98,0) size 404x400 [stroke={[type=SOLID] [color=#0000FF]}] [fill={[type=SOLID] [color=#000000]}] [x1=0.00] [y1=0.00] [x2=100.00] [y2=100.00]
- LayoutSVGPath {line} at (98,0) size 404x400 [stroke={[type=SOLID] [color=#0000FF]}] [fill={[type=SOLID] [color=#000000]}] [x1=100.00] [y1=0.00] [x2=0.00] [y2=100.00]
- LayoutSVGText {text} at (11,23) size 78x9 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 78x8
+ LayoutSVGRect {rect} at (-100,-100) size 1000x1000 [fill={[type=SOLID] [color=#FF0000]}] [x=-100.00] [y=-100.00] [width=1000.00] [height=1000.00]
+ LayoutSVGRect {rect} at (-26,-1) size 152x102 [fill={[type=SOLID] [color=#FFFFFF]}] [x=-26.00] [y=-1.00] [width=152.00] [height=102.00]
+ LayoutSVGRect {rect} at (0,0) size 100x100 [fill={[type=SOLID] [color=#000080]}] [x=0.00] [y=0.00] [width=100.00] [height=100.00]
+ LayoutSVGPath {line} at (0,0) size 100x100 [stroke={[type=SOLID] [color=#0000FF]}] [fill={[type=SOLID] [color=#000000]}] [x1=0.00] [y1=0.00] [x2=100.00] [y2=100.00]
+ LayoutSVGPath {line} at (0,0) size 100x100 [stroke={[type=SOLID] [color=#0000FF]}] [fill={[type=SOLID] [color=#000000]}] [x1=100.00] [y1=0.00] [x2=0.00] [y2=100.00]
+ LayoutSVGText {text} at (11.20,23.75) size 77.58x7.75 contains 1 chunk(s)
+ LayoutSVGInlineText {#text} at (11.20,23.75) size 77.58x7.75
chunk 1 (middle anchor) text run 1 at (11.21,30.00) startOffset 0 endOffset 24 width 77.58: "This should be a SQUARE."
- LayoutSVGText {text} at (17,35) size 66x6 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 65x6
+ LayoutSVGText {text} at (17.64,35.50) size 64.70x5.50 contains 1 chunk(s)
+ LayoutSVGInlineText {#text} at (17.64,35.50) size 64.70x5.50
chunk 1 (middle anchor) text run 1 at (17.64,40.00) startOffset 0 endOffset 34 width 64.71: "It should be 400 pixels to a side."
- LayoutSVGText {text} at (13,43) size 74x6 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 73x6
+ LayoutSVGText {text} at (13.61,43.50) size 72.75x5.50 contains 1 chunk(s)
+ LayoutSVGInlineText {#text} at (13.61,43.50) size 72.75x5.50
chunk 1 (middle anchor) text run 1 at (13.62,48.00) startOffset 0 endOffset 36 width 72.76: "There should be no red on this page."
- LayoutSVGText {text} at (7,85) size 86x6 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 86x6
+ LayoutSVGText {text} at (7.30,85.50) size 85.39x5.50 contains 1 chunk(s)
+ LayoutSVGInlineText {#text} at (7.30,85.50) size 85.39x5.50
chunk 1 (middle anchor) text run 1 at (7.30,90.00) startOffset 0 endOffset 42 width 85.40: "The orange line should be 600 pixels long:"
- LayoutSVGPath {line} at (0,366) size 600x4 [stroke={[type=SOLID] [color=#FFA500]}] [fill={[type=SOLID] [color=#000000]}] [x1=-25.00] [y1=92.00] [x2=125.00] [y2=92.00]
- LayoutSVGText {text} at (-25,87) size 2x4 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 2x4
+ LayoutSVGPath {line} at (-25,92) size 150x0 [stroke={[type=SOLID] [color=#FFA500]}] [fill={[type=SOLID] [color=#000000]}] [x1=-25.00] [y1=92.00] [x2=125.00] [y2=92.00]
+ LayoutSVGText {text} at (-25,87) size 1.50x3.75 contains 1 chunk(s)
+ LayoutSVGInlineText {#text} at (-25,87) size 1.50x3.75
chunk 1 text run 1 at (-25.00,90.00) startOffset 0 endOffset 1 width 1.50: "0"
- LayoutSVGPath {line} at (0,362) size 2x6 [stroke={[type=SOLID] [color=#FFA500]}] [fill={[type=SOLID] [color=#000000]}] [x1=-25.00] [y1=92.00] [x2=-25.00] [y2=90.50]
- LayoutSVGText {text} at (120,87) size 5x4 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 5x4
+ LayoutSVGPath {line} at (-25,90.50) size 0x1.50 [stroke={[type=SOLID] [color=#FFA500]}] [fill={[type=SOLID] [color=#000000]}] [x1=-25.00] [y1=92.00] [x2=-25.00] [y2=90.50]
+ LayoutSVGText {text} at (120.50,87) size 4.50x3.75 contains 1 chunk(s)
+ LayoutSVGInlineText {#text} at (120.50,87) size 4.50x3.75
chunk 1 (end anchor) text run 1 at (120.50,90.00) startOffset 0 endOffset 3 width 4.50: "600"
- LayoutSVGPath {line} at (598,362) size 2x6 [stroke={[type=SOLID] [color=#FFA500]}] [fill={[type=SOLID] [color=#000000]}] [x1=125.00] [y1=92.00] [x2=125.00] [y2=90.50]
+ LayoutSVGPath {line} at (125,90.50) size 0x1.50 [stroke={[type=SOLID] [color=#FFA500]}] [fill={[type=SOLID] [color=#000000]}] [x1=125.00] [y1=92.00] [x2=125.00] [y2=90.50]

Powered by Google App Engine
This is Rietveld 408576698