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

Unified Diff: third_party/WebKit/LayoutTests/platform/mac/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/mac/svg/W3C-SVG-1.1/coords-units-01-b-expected.txt
diff --git a/third_party/WebKit/LayoutTests/platform/mac/svg/W3C-SVG-1.1/coords-units-01-b-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/svg/W3C-SVG-1.1/coords-units-01-b-expected.txt
index a9c6a746161153a0de97706a4a98730c469309bb..33dadf5debe518caef32b904f7b209e2ae7e52ba 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/svg/W3C-SVG-1.1/coords-units-01-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/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]
@@ -12,23 +12,23 @@ layer at (0,0) size 480x360
LayoutSVGResourceLinearGradient {linearGradient} [id="linearUserSpace"] [gradientUnits=userSpaceOnUse] [start=(0,0)] [end=(50,0)]
LayoutSVGGradientStop {stop} [offset=0.00] [color=#FF0000]
LayoutSVGGradientStop {stop} [offset=1.00] [color=#0000FF]
- LayoutSVGText {text} at (30,16) size 386x18 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 386x18
+ LayoutSVGText {text} at (30,16) size 385.63x18 contains 1 chunk(s)
+ LayoutSVGInlineText {#text} at (30,16) size 385.63x18
chunk 1 text run 1 at (30.00,30.00) startOffset 0 endOffset 59 width 385.63: "Bounding box relative coordinates (percentage and fraction)"
- LayoutSVGContainer {g} at (30,40) size 133x60 [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]
- LayoutSVGText {text} at (60,1) size 71x18 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 71x18
+ LayoutSVGContainer {g} at (0,0) size 132.41x60 [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,1) size 70.17x18 contains 1 chunk(s)
+ LayoutSVGInlineText {#text} at (60,1) size 70.17x18
chunk 1 text run 1 at (60.00,15.00) startOffset 0 endOffset 10 width 70.18: "Percentage"
- LayoutSVGText {text} at (60,21) size 54x18 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 54x18
+ LayoutSVGText {text} at (60,21) size 53.31x18 contains 1 chunk(s)
+ LayoutSVGInlineText {#text} at (60,21) size 53.31x18
chunk 1 text run 1 at (60.00,35.00) startOffset 0 endOffset 8 width 53.32: "Fraction"
- LayoutSVGText {text} at (60,41) size 73x18 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 73x18
+ LayoutSVGText {text} at (60,41) size 72.41x18 contains 1 chunk(s)
+ LayoutSVGInlineText {#text} at (60,41) size 72.41x18
chunk 1 text run 1 at (60.00,55.00) startOffset 0 endOffset 10 width 72.41: "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]
@@ -39,49 +39,49 @@ layer at (0,0) size 480x360
LayoutSVGResourceRadialGradient {radialGradient} [id="radialUserSpace"] [gradientUnits=userSpaceOnUse] [center=(15,15)] [focal=(15,15)] [radius=15.00] [focalRadius=0.00]
LayoutSVGGradientStop {stop} [offset=0.00] [color=#FF0000]
LayoutSVGGradientStop {stop} [offset=1.00] [color=#0000FF]
- LayoutSVGText {text} at (30,116) size 352x18 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 352x18
+ LayoutSVGText {text} at (30,116) size 351.86x18 contains 1 chunk(s)
+ LayoutSVGInlineText {#text} at (30,116) size 351.86x18
chunk 1 text run 1 at (30.00,130.00) startOffset 0 endOffset 54 width 351.87: "Bounding box relative length (percentage and fraction)"
- LayoutSVGContainer {g} at (30,140) size 195x74 [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]
- LayoutSVGText {text} at (0,56) size 52x18 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 52x18
+ LayoutSVGContainer {g} at (0,0) size 194.41x74 [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,56) size 51.97x18 contains 1 chunk(s)
+ LayoutSVGInlineText {#text} at (0,56) size 51.97x18
chunk 1 text run 1 at (0.00,70.00) startOffset 0 endOffset 8 width 51.98: "Percent."
- LayoutSVGText {text} at (61,56) size 54x18 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 54x18
+ LayoutSVGText {text} at (61,56) size 53.31x18 contains 1 chunk(s)
+ LayoutSVGInlineText {#text} at (61,56) size 53.31x18
chunk 1 text run 1 at (61.00,70.00) startOffset 0 endOffset 8 width 53.32: "Fraction"
- LayoutSVGText {text} at (122,56) size 73x18 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 73x18
+ LayoutSVGText {text} at (122,56) size 72.41x18 contains 1 chunk(s)
+ LayoutSVGInlineText {#text} at (122,56) size 72.41x18
chunk 1 text run 1 at (122.00,70.00) startOffset 0 endOffset 10 width 72.41: "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,226) size 393x18 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 393x18
+ LayoutSVGText {text} at (30,226) size 392.75x18 contains 1 chunk(s)
+ LayoutSVGInlineText {#text} at (30,226) size 392.75x18
chunk 1 text run 1 at (30.00,240.00) startOffset 0 endOffset 60 width 392.76: "Bounding box relative width/height (percentage and fraction)"
- LayoutSVGContainer {g} at (29,249) size 434x32 [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]
- LayoutSVGText {text} at (60,6) size 71x18 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 71x18
+ LayoutSVGContainer {g} at (0,0) size 432.41x30 [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,6) size 70.17x18 contains 1 chunk(s)
+ LayoutSVGInlineText {#text} at (60,6) size 70.17x18
chunk 1 text run 1 at (60.00,20.00) startOffset 0 endOffset 10 width 70.18: "Percentage"
- LayoutSVGText {text} at (210,6) size 54x18 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 54x18
+ LayoutSVGText {text} at (210,6) size 53.31x18 contains 1 chunk(s)
+ LayoutSVGInlineText {#text} at (210,6) size 53.31x18
chunk 1 text run 1 at (210.00,20.00) startOffset 0 endOffset 8 width 53.32: "Fraction"
- LayoutSVGText {text} at (360,6) size 73x18 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 73x18
+ LayoutSVGText {text} at (360,6) size 72.41x18 contains 1 chunk(s)
+ LayoutSVGInlineText {#text} at (360,6) size 72.41x18
chunk 1 text run 1 at (360.00,20.00) startOffset 0 endOffset 10 width 72.41: "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]
- LayoutSVGText {text} at (10,304) size 264x46 contains 1 chunk(s)
- LayoutSVGInlineText {#text} at (0,0) size 264x46
+ 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 263.33x46 contains 1 chunk(s)
+ LayoutSVGInlineText {#text} at (10,304) size 263.33x46
chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 16 width 263.34: "$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