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

Unified Diff: third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/coords-units-01-b-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/W3C-SVG-1.1/coords-units-01-b-expected.txt
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/coords-units-01-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/coords-units-01-b-expected.txt
index 44b28e95edd82f05b5e7ff079fd4ee4dc1a85637..b0a0fe7b6c1556e6077265b5ab740f3aa875022c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/coords-units-01-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/coords-units-01-b-expected.txt
@@ -2,7 +2,7 @@ layer at (0,0) size 480x360
LayoutView at (0,0) size 480x360
layer at (0,0) size 480x360
LayoutSVGRoot {svg} at (0,0) size 480x360
- LayoutSVGContainer {g} at (0,0) size 480x360
+ LayoutSVGContainer {g} at (1,1) size 478x358
LayoutSVGResourceLinearGradient {linearGradient} [id="linearBoundingBoxPercentage"] [gradientUnits=objectBoundingBox] [start=(0,0)] [end=(1,0)]
LayoutSVGGradientStop {stop} [offset=0.00] [color=#FF0000]
LayoutSVGGradientStop {stop} [offset=1.00] [color=#0000FF]
@@ -13,22 +13,22 @@ layer at (0,0) size 480x360
LayoutSVGGradientStop {stop} [offset=0.00] [color=#FF0000]
LayoutSVGGradientStop {stop} [offset=1.00] [color=#0000FF]
LayoutSVGText {text} at (30,15) size 360x19 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 360x19
+ LayoutSVGInlineText {#text} at (30,15) size 360x19
chunk 1 text run 1 at (30.00,30.00) startOffset 0 endOffset 59 width 360.00: "Bounding box relative coordinates (percentage and fraction)"
- LayoutSVGContainer {g} at (30,40) size 131x60 [transform={m=((1.00,0.00)(0.00,1.00)) t=(30.00,40.00)}]
- LayoutSVGRect {rect} at (30,40) size 50x20 [fill={[type=LINEAR-GRADIENT] [id="linearBoundingBoxPercentage"]}] [x=0.00] [y=0.00] [width=50.00] [height=20.00]
- LayoutSVGRect {rect} at (30,60) size 50x20 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,20.00)}] [fill={[type=LINEAR-GRADIENT] [id="linearBoundingBoxFraction"]}] [x=0.00] [y=0.00] [width=50.00] [height=20.00]
- LayoutSVGRect {rect} at (30,80) size 50x20 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,40.00)}] [fill={[type=LINEAR-GRADIENT] [id="linearUserSpace"]}] [x=0.00] [y=0.00] [width=50.00] [height=20.00]
- LayoutSVGPath {line} at (30,59) size 50x2 [stroke={[type=SOLID] [color=#CCCCCC]}] [fill={[type=SOLID] [color=#000000]}] [x1=0.00] [y1=20.00] [x2=50.00] [y2=20.00]
- LayoutSVGPath {line} at (30,79) size 50x2 [stroke={[type=SOLID] [color=#CCCCCC]}] [fill={[type=SOLID] [color=#000000]}] [x1=0.00] [y1=40.00] [x2=50.00] [y2=40.00]
+ LayoutSVGContainer {g} at (0,0) size 131x60 [transform={m=((1.00,0.00)(0.00,1.00)) t=(30.00,40.00)}]
+ LayoutSVGRect {rect} at (0,0) size 50x20 [fill={[type=LINEAR-GRADIENT] [id="linearBoundingBoxPercentage"]}] [x=0.00] [y=0.00] [width=50.00] [height=20.00]
+ LayoutSVGRect {rect} at (0,0) size 50x20 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,20.00)}] [fill={[type=LINEAR-GRADIENT] [id="linearBoundingBoxFraction"]}] [x=0.00] [y=0.00] [width=50.00] [height=20.00]
+ LayoutSVGRect {rect} at (0,0) size 50x20 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,40.00)}] [fill={[type=LINEAR-GRADIENT] [id="linearUserSpace"]}] [x=0.00] [y=0.00] [width=50.00] [height=20.00]
+ LayoutSVGPath {line} at (0,20) size 50x0 [stroke={[type=SOLID] [color=#CCCCCC]}] [fill={[type=SOLID] [color=#000000]}] [x1=0.00] [y1=20.00] [x2=50.00] [y2=20.00]
+ LayoutSVGPath {line} at (0,40) size 50x0 [stroke={[type=SOLID] [color=#CCCCCC]}] [fill={[type=SOLID] [color=#000000]}] [x1=0.00] [y1=40.00] [x2=50.00] [y2=40.00]
LayoutSVGText {text} at (60,0) size 67x19 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 67x19
+ LayoutSVGInlineText {#text} at (60,0) size 67x19
chunk 1 text run 1 at (60.00,15.00) startOffset 0 endOffset 10 width 67.00: "Percentage"
LayoutSVGText {text} at (60,20) size 50x19 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 50x19
+ LayoutSVGInlineText {#text} at (60,20) size 50x19
chunk 1 text run 1 at (60.00,35.00) startOffset 0 endOffset 8 width 50.00: "Fraction"
LayoutSVGText {text} at (60,40) size 71x19 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 71x19
+ LayoutSVGInlineText {#text} at (60,40) size 71x19
chunk 1 text run 1 at (60.00,55.00) startOffset 0 endOffset 10 width 71.00: "User Space"
LayoutSVGResourceRadialGradient {radialGradient} [id="radialBoundingBoxPercentage"] [gradientUnits=objectBoundingBox] [center=(0.25,0.25)] [focal=(0.25,0.25)] [radius=0.25] [focalRadius=0.00]
LayoutSVGGradientStop {stop} [offset=0.00] [color=#FF0000]
@@ -40,48 +40,48 @@ layer at (0,0) size 480x360
LayoutSVGGradientStop {stop} [offset=0.00] [color=#FF0000]
LayoutSVGGradientStop {stop} [offset=1.00] [color=#0000FF]
LayoutSVGText {text} at (30,115) size 325x19 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 325x19
+ LayoutSVGInlineText {#text} at (30,115) size 325x19
chunk 1 text run 1 at (30.00,130.00) startOffset 0 endOffset 54 width 325.00: "Bounding box relative length (percentage and fraction)"
- LayoutSVGContainer {g} at (30,140) size 193x74 [transform={m=((1.00,0.00)(0.00,1.00)) t=(30.00,140.00)}]
- LayoutSVGRect {rect} at (30,140) size 60x60 [fill={[type=RADIAL-GRADIENT] [id="radialBoundingBoxPercentage"]}] [x=0.00] [y=0.00] [width=60.00] [height=60.00]
- LayoutSVGRect {rect} at (91,140) size 60x60 [transform={m=((1.00,0.00)(0.00,1.00)) t=(61.00,0.00)}] [fill={[type=RADIAL-GRADIENT] [id="radialBoundingBoxFraction"]}] [x=0.00] [y=0.00] [width=60.00] [height=60.00]
- LayoutSVGRect {rect} at (152,140) size 60x60 [transform={m=((1.00,0.00)(0.00,1.00)) t=(122.00,0.00)}] [fill={[type=RADIAL-GRADIENT] [id="radialUserSpace"]}] [x=0.00] [y=0.00] [width=60.00] [height=60.00]
+ LayoutSVGContainer {g} at (0,0) size 193x74 [transform={m=((1.00,0.00)(0.00,1.00)) t=(30.00,140.00)}]
+ LayoutSVGRect {rect} at (0,0) size 60x60 [fill={[type=RADIAL-GRADIENT] [id="radialBoundingBoxPercentage"]}] [x=0.00] [y=0.00] [width=60.00] [height=60.00]
+ LayoutSVGRect {rect} at (0,0) size 60x60 [transform={m=((1.00,0.00)(0.00,1.00)) t=(61.00,0.00)}] [fill={[type=RADIAL-GRADIENT] [id="radialBoundingBoxFraction"]}] [x=0.00] [y=0.00] [width=60.00] [height=60.00]
+ LayoutSVGRect {rect} at (0,0) size 60x60 [transform={m=((1.00,0.00)(0.00,1.00)) t=(122.00,0.00)}] [fill={[type=RADIAL-GRADIENT] [id="radialUserSpace"]}] [x=0.00] [y=0.00] [width=60.00] [height=60.00]
LayoutSVGText {text} at (0,55) size 50x19 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 50x19
+ LayoutSVGInlineText {#text} at (0,55) size 50x19
chunk 1 text run 1 at (0.00,70.00) startOffset 0 endOffset 8 width 50.00: "Percent."
LayoutSVGText {text} at (61,55) size 50x19 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 50x19
+ LayoutSVGInlineText {#text} at (61,55) size 50x19
chunk 1 text run 1 at (61.00,70.00) startOffset 0 endOffset 8 width 50.00: "Fraction"
LayoutSVGText {text} at (122,55) size 71x19 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 71x19
+ LayoutSVGInlineText {#text} at (122,55) size 71x19
chunk 1 text run 1 at (122.00,70.00) startOffset 0 endOffset 10 width 71.00: "User Space"
LayoutSVGResourcePattern {pattern} [id="patternBoundingBoxPercentage"] [patternUnits=objectBoundingBox] [patternContentUnits=objectBoundingBox]
- LayoutSVGEllipse {circle} at (0,0) size 1x1 [fill={[type=SOLID] [color=#FF0000]}] [cx=0.50] [cy=0.50] [r=0.25]
- LayoutSVGRect {rect} at (0,0) size 1x1 [fill={[type=SOLID] [color=#0000FF]}] [x=0.40] [y=0.40] [width=0.20] [height=0.20]
+ LayoutSVGEllipse {circle} at (0.25,0.25) size 0.50x0.50 [fill={[type=SOLID] [color=#FF0000]}] [cx=0.50] [cy=0.50] [r=0.25]
+ LayoutSVGRect {rect} at (0.40,0.40) size 0.20x0.20 [fill={[type=SOLID] [color=#0000FF]}] [x=0.40] [y=0.40] [width=0.20] [height=0.20]
LayoutSVGResourcePattern {pattern} [id="patternBoundingBoxFraction"] [patternUnits=objectBoundingBox] [patternContentUnits=objectBoundingBox]
- LayoutSVGEllipse {circle} at (0,0) size 1x1 [fill={[type=SOLID] [color=#FF0000]}] [cx=0.50] [cy=0.50] [r=0.25]
- LayoutSVGRect {rect} at (0,0) size 1x1 [fill={[type=SOLID] [color=#0000FF]}] [x=0.40] [y=0.40] [width=0.20] [height=0.20]
+ LayoutSVGEllipse {circle} at (0.25,0.25) size 0.50x0.50 [fill={[type=SOLID] [color=#FF0000]}] [cx=0.50] [cy=0.50] [r=0.25]
+ LayoutSVGRect {rect} at (0.40,0.40) size 0.20x0.20 [fill={[type=SOLID] [color=#0000FF]}] [x=0.40] [y=0.40] [width=0.20] [height=0.20]
LayoutSVGResourcePattern {pattern} [id="patternUserSpace"] [patternUnits=userSpaceOnUse] [patternContentUnits=userSpaceOnUse]
LayoutSVGEllipse {circle} at (15,5) size 20x20 [fill={[type=SOLID] [color=#FF0000]}] [cx=25.00] [cy=15.00] [r=10.00]
LayoutSVGRect {rect} at (20,12) size 10x6 [fill={[type=SOLID] [color=#0000FF]}] [x=20.00] [y=12.00] [width=10.00] [height=6.00]
LayoutSVGText {text} at (30,225) size 362x19 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 362x19
+ LayoutSVGInlineText {#text} at (30,225) size 362x19
chunk 1 text run 1 at (30.00,240.00) startOffset 0 endOffset 60 width 362.00: "Bounding box relative width/height (percentage and fraction)"
- LayoutSVGContainer {g} at (29,249) size 432x32 [transform={m=((1.00,0.00)(0.00,1.00)) t=(30.00,250.00)}]
- LayoutSVGRect {rect} at (29,249) size 52x32 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=PATTERN] [id="patternBoundingBoxPercentage"]}] [x=0.00] [y=0.00] [width=50.00] [height=30.00]
- LayoutSVGRect {rect} at (179,249) size 52x32 [transform={m=((1.00,0.00)(0.00,1.00)) t=(150.00,0.00)}] [stroke={[type=SOLID] [color=#000000]}] [fill={[type=PATTERN] [id="patternBoundingBoxFraction"]}] [x=0.00] [y=0.00] [width=50.00] [height=30.00]
- LayoutSVGRect {rect} at (329,249) size 52x32 [transform={m=((1.00,0.00)(0.00,1.00)) t=(300.00,0.00)}] [stroke={[type=SOLID] [color=#000000]}] [fill={[type=PATTERN] [id="patternUserSpace"]}] [x=0.00] [y=0.00] [width=50.00] [height=30.00]
+ LayoutSVGContainer {g} at (0,0) size 431x30 [transform={m=((1.00,0.00)(0.00,1.00)) t=(30.00,250.00)}]
+ LayoutSVGRect {rect} at (0,0) size 50x30 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=PATTERN] [id="patternBoundingBoxPercentage"]}] [x=0.00] [y=0.00] [width=50.00] [height=30.00]
+ LayoutSVGRect {rect} at (0,0) size 50x30 [transform={m=((1.00,0.00)(0.00,1.00)) t=(150.00,0.00)}] [stroke={[type=SOLID] [color=#000000]}] [fill={[type=PATTERN] [id="patternBoundingBoxFraction"]}] [x=0.00] [y=0.00] [width=50.00] [height=30.00]
+ LayoutSVGRect {rect} at (0,0) size 50x30 [transform={m=((1.00,0.00)(0.00,1.00)) t=(300.00,0.00)}] [stroke={[type=SOLID] [color=#000000]}] [fill={[type=PATTERN] [id="patternUserSpace"]}] [x=0.00] [y=0.00] [width=50.00] [height=30.00]
LayoutSVGText {text} at (60,5) size 67x19 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 67x19
+ LayoutSVGInlineText {#text} at (60,5) size 67x19
chunk 1 text run 1 at (60.00,20.00) startOffset 0 endOffset 10 width 67.00: "Percentage"
LayoutSVGText {text} at (210,5) size 50x19 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 50x19
+ LayoutSVGInlineText {#text} at (210,5) size 50x19
chunk 1 text run 1 at (210.00,20.00) startOffset 0 endOffset 8 width 50.00: "Fraction"
LayoutSVGText {text} at (360,5) size 71x19 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 71x19
+ LayoutSVGInlineText {#text} at (360,5) size 71x19
chunk 1 text run 1 at (360.00,20.00) startOffset 0 endOffset 10 width 71.00: "User Space"
- LayoutSVGRect {rect} at (0,0) size 480x360 [stroke={[type=SOLID] [color=#000000]}] [x=1.00] [y=1.00] [width=478.00] [height=358.00]
+ LayoutSVGRect {rect} at (1,1) size 478x358 [stroke={[type=SOLID] [color=#000000]}] [x=1.00] [y=1.00] [width=478.00] [height=358.00]
LayoutSVGText {text} at (10,304) size 261x46 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 261x46
+ LayoutSVGInlineText {#text} at (10,304) size 261x46
chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 16 width 261.00: "$Revision: 1.5 $"
- LayoutSVGRect {rect} at (0,0) size 480x360 [stroke={[type=SOLID] [color=#000000]}] [x=1.00] [y=1.00] [width=478.00] [height=358.00]
+ LayoutSVGRect {rect} at (1,1) size 478x358 [stroke={[type=SOLID] [color=#000000]}] [x=1.00] [y=1.00] [width=478.00] [height=358.00]

Powered by Google App Engine
This is Rietveld 408576698