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

Side by Side Diff: LayoutTests/platform/linux/svg/W3C-SVG-1.1/coords-units-01-b-expected.txt

Issue 208323007: Fix getBBox() returning (0,0) bug when width or height is zero (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@myzbackup
Patch Set: Created 6 years, 9 months 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 unified diff | Download patch
OLDNEW
1 layer at (0,0) size 480x360 1 layer at (0,0) size 480x360
2 RenderView at (0,0) size 480x360 2 RenderView at (0,0) size 480x360
3 layer at (0,0) size 480x360 3 layer at (0,0) size 480x360
4 RenderSVGRoot {svg} at (0,0) size 480x360 4 RenderSVGRoot {svg} at (0,0) size 480x360
5 RenderSVGContainer {g} at (0,0) size 480x360 5 RenderSVGContainer {g} at (0,0) size 480x360
6 RenderSVGResourceLinearGradient {linearGradient} [id="linearBoundingBoxPer centage"] [gradientUnits=objectBoundingBox] [start=(0,0)] [end=(1,0)] 6 RenderSVGResourceLinearGradient {linearGradient} [id="linearBoundingBoxPer centage"] [gradientUnits=objectBoundingBox] [start=(0,0)] [end=(1,0)]
7 RenderSVGGradientStop {stop} [offset=0.00] [color=#FF0000] 7 RenderSVGGradientStop {stop} [offset=0.00] [color=#FF0000]
8 RenderSVGGradientStop {stop} [offset=1.00] [color=#0000FF] 8 RenderSVGGradientStop {stop} [offset=1.00] [color=#0000FF]
9 RenderSVGResourceLinearGradient {linearGradient} [id="linearBoundingBoxFra ction"] [gradientUnits=objectBoundingBox] [start=(0,0)] [end=(1,0)] 9 RenderSVGResourceLinearGradient {linearGradient} [id="linearBoundingBoxFra ction"] [gradientUnits=objectBoundingBox] [start=(0,0)] [end=(1,0)]
10 RenderSVGGradientStop {stop} [offset=0.00] [color=#FF0000] 10 RenderSVGGradientStop {stop} [offset=0.00] [color=#FF0000]
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 RenderSVGText {text} at (0,55) size 50x19 contains 1 chunk(s) 49 RenderSVGText {text} at (0,55) size 50x19 contains 1 chunk(s)
50 RenderSVGInlineText {#text} at (0,0) size 50x19 50 RenderSVGInlineText {#text} at (0,0) size 50x19
51 chunk 1 text run 1 at (0.00,70.00) startOffset 0 endOffset 8 width 5 0.00: "Percent." 51 chunk 1 text run 1 at (0.00,70.00) startOffset 0 endOffset 8 width 5 0.00: "Percent."
52 RenderSVGText {text} at (61,55) size 50x19 contains 1 chunk(s) 52 RenderSVGText {text} at (61,55) size 50x19 contains 1 chunk(s)
53 RenderSVGInlineText {#text} at (0,0) size 50x19 53 RenderSVGInlineText {#text} at (0,0) size 50x19
54 chunk 1 text run 1 at (61.00,70.00) startOffset 0 endOffset 8 width 50.00: "Fraction" 54 chunk 1 text run 1 at (61.00,70.00) startOffset 0 endOffset 8 width 50.00: "Fraction"
55 RenderSVGText {text} at (122,55) size 71x19 contains 1 chunk(s) 55 RenderSVGText {text} at (122,55) size 71x19 contains 1 chunk(s)
56 RenderSVGInlineText {#text} at (0,0) size 71x19 56 RenderSVGInlineText {#text} at (0,0) size 71x19
57 chunk 1 text run 1 at (122.00,70.00) startOffset 0 endOffset 10 widt h 71.00: "User Space" 57 chunk 1 text run 1 at (122.00,70.00) startOffset 0 endOffset 10 widt h 71.00: "User Space"
58 RenderSVGResourcePattern {pattern} [id="patternBoundingBoxPercentage"] [pa tternUnits=objectBoundingBox] [patternContentUnits=objectBoundingBox] 58 RenderSVGResourcePattern {pattern} [id="patternBoundingBoxPercentage"] [pa tternUnits=objectBoundingBox] [patternContentUnits=objectBoundingBox]
59 RenderSVGEllipse {circle} at (0,0) size 1x1 [fill={[type=SOLID] [color=# FF0000]}] [cx=0.50] [cy=0.50] [r=0.25] 59 RenderSVGEllipse {circle} at (0,0) size 2x2 [fill={[type=SOLID] [color=# FF0000]}] [cx=0.50] [cy=0.50] [r=0.25]
60 RenderSVGRect {rect} at (0,0) size 1x1 [fill={[type=SOLID] [color=#0000F F]}] [x=0.40] [y=0.40] [width=0.20] [height=0.20] 60 RenderSVGRect {rect} at (0,0) size 1x1 [fill={[type=SOLID] [color=#0000F F]}] [x=0.40] [y=0.40] [width=0.20] [height=0.20]
61 RenderSVGResourcePattern {pattern} [id="patternBoundingBoxFraction"] [patt ernUnits=objectBoundingBox] [patternContentUnits=objectBoundingBox] 61 RenderSVGResourcePattern {pattern} [id="patternBoundingBoxFraction"] [patt ernUnits=objectBoundingBox] [patternContentUnits=objectBoundingBox]
62 RenderSVGEllipse {circle} at (0,0) size 1x1 [fill={[type=SOLID] [color=# FF0000]}] [cx=0.50] [cy=0.50] [r=0.25] 62 RenderSVGEllipse {circle} at (0,0) size 2x2 [fill={[type=SOLID] [color=# FF0000]}] [cx=0.50] [cy=0.50] [r=0.25]
63 RenderSVGRect {rect} at (0,0) size 1x1 [fill={[type=SOLID] [color=#0000F F]}] [x=0.40] [y=0.40] [width=0.20] [height=0.20] 63 RenderSVGRect {rect} at (0,0) size 1x1 [fill={[type=SOLID] [color=#0000F F]}] [x=0.40] [y=0.40] [width=0.20] [height=0.20]
64 RenderSVGResourcePattern {pattern} [id="patternUserSpace"] [patternUnits=u serSpaceOnUse] [patternContentUnits=userSpaceOnUse] 64 RenderSVGResourcePattern {pattern} [id="patternUserSpace"] [patternUnits=u serSpaceOnUse] [patternContentUnits=userSpaceOnUse]
65 RenderSVGEllipse {circle} at (15,5) size 20x20 [fill={[type=SOLID] [colo r=#FF0000]}] [cx=25.00] [cy=15.00] [r=10.00] 65 RenderSVGEllipse {circle} at (14,4) size 22x22 [fill={[type=SOLID] [colo r=#FF0000]}] [cx=25.00] [cy=15.00] [r=10.00]
66 RenderSVGRect {rect} at (20,12) size 10x6 [fill={[type=SOLID] [color=#00 00FF]}] [x=20.00] [y=12.00] [width=10.00] [height=6.00] 66 RenderSVGRect {rect} at (20,12) size 10x6 [fill={[type=SOLID] [color=#00 00FF]}] [x=20.00] [y=12.00] [width=10.00] [height=6.00]
67 RenderSVGText {text} at (30,225) size 362x19 contains 1 chunk(s) 67 RenderSVGText {text} at (30,225) size 362x19 contains 1 chunk(s)
68 RenderSVGInlineText {#text} at (0,0) size 362x19 68 RenderSVGInlineText {#text} at (0,0) size 362x19
69 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)" 69 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)"
70 RenderSVGContainer {g} at (29,249) size 432x32 [transform={m=((1.00,0.00)( 0.00,1.00)) t=(30.00,250.00)}] 70 RenderSVGContainer {g} at (29,249) size 432x32 [transform={m=((1.00,0.00)( 0.00,1.00)) t=(30.00,250.00)}]
71 RenderSVGRect {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] 71 RenderSVGRect {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]
72 RenderSVGRect {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={[ty pe=PATTERN] [id="patternBoundingBoxFraction"]}] [x=0.00] [y=0.00] [width=50.00] [height=30.00] 72 RenderSVGRect {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={[ty pe=PATTERN] [id="patternBoundingBoxFraction"]}] [x=0.00] [y=0.00] [width=50.00] [height=30.00]
73 RenderSVGRect {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={[ty pe=PATTERN] [id="patternUserSpace"]}] [x=0.00] [y=0.00] [width=50.00] [height=30 .00] 73 RenderSVGRect {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={[ty pe=PATTERN] [id="patternUserSpace"]}] [x=0.00] [y=0.00] [width=50.00] [height=30 .00]
74 RenderSVGText {text} at (60,5) size 67x19 contains 1 chunk(s) 74 RenderSVGText {text} at (60,5) size 67x19 contains 1 chunk(s)
75 RenderSVGInlineText {#text} at (0,0) size 67x19 75 RenderSVGInlineText {#text} at (0,0) size 67x19
76 chunk 1 text run 1 at (60.00,20.00) startOffset 0 endOffset 10 width 67.00: "Percentage" 76 chunk 1 text run 1 at (60.00,20.00) startOffset 0 endOffset 10 width 67.00: "Percentage"
77 RenderSVGText {text} at (210,5) size 50x19 contains 1 chunk(s) 77 RenderSVGText {text} at (210,5) size 50x19 contains 1 chunk(s)
78 RenderSVGInlineText {#text} at (0,0) size 50x19 78 RenderSVGInlineText {#text} at (0,0) size 50x19
79 chunk 1 text run 1 at (210.00,20.00) startOffset 0 endOffset 8 width 50.00: "Fraction" 79 chunk 1 text run 1 at (210.00,20.00) startOffset 0 endOffset 8 width 50.00: "Fraction"
80 RenderSVGText {text} at (360,5) size 71x19 contains 1 chunk(s) 80 RenderSVGText {text} at (360,5) size 71x19 contains 1 chunk(s)
81 RenderSVGInlineText {#text} at (0,0) size 71x19 81 RenderSVGInlineText {#text} at (0,0) size 71x19
82 chunk 1 text run 1 at (360.00,20.00) startOffset 0 endOffset 10 widt h 71.00: "User Space" 82 chunk 1 text run 1 at (360.00,20.00) startOffset 0 endOffset 10 widt h 71.00: "User Space"
83 RenderSVGRect {rect} at (0,0) size 480x360 [stroke={[type=SOLID] [color=#0 00000]}] [x=1.00] [y=1.00] [width=478.00] [height=358.00] 83 RenderSVGRect {rect} at (0,0) size 480x360 [stroke={[type=SOLID] [color=#0 00000]}] [x=1.00] [y=1.00] [width=478.00] [height=358.00]
84 RenderSVGText {text} at (10,304) size 261x46 contains 1 chunk(s) 84 RenderSVGText {text} at (10,304) size 261x46 contains 1 chunk(s)
85 RenderSVGInlineText {#text} at (0,0) size 261x46 85 RenderSVGInlineText {#text} at (0,0) size 261x46
86 chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 16 width 26 1.00: "$Revision: 1.5 $" 86 chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 16 width 26 1.00: "$Revision: 1.5 $"
87 RenderSVGRect {rect} at (0,0) size 480x360 [stroke={[type=SOLID] [color=#000 000]}] [x=1.00] [y=1.00] [width=478.00] [height=358.00] 87 RenderSVGRect {rect} at (0,0) size 480x360 [stroke={[type=SOLID] [color=#000 000]}] [x=1.00] [y=1.00] [width=478.00] [height=358.00]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698