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

Unified Diff: LayoutTests/platform/linux/svg/batik/masking/maskRegions-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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/platform/linux/svg/batik/masking/maskRegions-expected.txt
diff --git a/LayoutTests/platform/win/svg/batik/masking/maskRegions-expected.txt b/LayoutTests/platform/linux/svg/batik/masking/maskRegions-expected.txt
similarity index 82%
copy from LayoutTests/platform/win/svg/batik/masking/maskRegions-expected.txt
copy to LayoutTests/platform/linux/svg/batik/masking/maskRegions-expected.txt
index 02dcd666e5ab18af1d1660420616ff16f296687c..0893c694d840f361be5cabcfba34c81030cebe55 100644
--- a/LayoutTests/platform/win/svg/batik/masking/maskRegions-expected.txt
+++ b/LayoutTests/platform/linux/svg/batik/masking/maskRegions-expected.txt
@@ -2,7 +2,7 @@ layer at (0,0) size 800x600
RenderView at (0,0) size 800x600
layer at (0,0) size 450x500
RenderSVGRoot {svg} at (0,0) size 448x498
- RenderSVGContainer {g} at (90,35) size 265x369
+ RenderSVGContainer {g} at (89,35) size 271x385
RenderSVGText {text} at (175,35) size 100x18 contains 1 chunk(s)
RenderSVGInlineText {#text} at (0,0) size 100x18
chunk 1 (middle anchor) text run 1 at (175.00,50.00) startOffset 0 endOffset 12 width 100.00: "Mask Regions"
@@ -12,34 +12,34 @@ layer at (0,0) size 450x500
RenderSVGGradientStop {stop} [offset=1.00] [color=#FF0000]
RenderSVGRect {rect} at (0,0) size 100x80 [fill={[type=LINEAR-GRADIENT] [id="maskedGradient"]}] [x=0.00] [y=0.00] [width=100.00] [height=80.00]
RenderSVGResourceMasker {mask} [id="mask_1"] [maskUnits=objectBoundingBox] [maskContentUnits=userSpaceOnUse]
- RenderSVGEllipse {circle} at (5,0) size 40x40 [fill={[type=SOLID] [color=#FFFFFF]}] [cx=25.00] [cy=20.00] [r=20.00]
- RenderSVGEllipse {circle} at (5,40) size 40x40 [fill={[type=SOLID] [color=#FFFFFF]}] [cx=25.00] [cy=60.00] [r=20.00]
- RenderSVGEllipse {circle} at (55,0) size 40x40 [fill={[type=SOLID] [color=#FFFFFF]}] [cx=75.00] [cy=20.00] [r=20.00]
- RenderSVGEllipse {circle} at (55,40) size 40x40 [fill={[type=SOLID] [color=#FFFFFF]}] [cx=75.00] [cy=60.00] [r=20.00]
+ RenderSVGEllipse {circle} at (4,0) size 42x41 [fill={[type=SOLID] [color=#FFFFFF]}] [cx=25.00] [cy=20.00] [r=20.00]
+ RenderSVGEllipse {circle} at (4,39) size 42x42 [fill={[type=SOLID] [color=#FFFFFF]}] [cx=25.00] [cy=60.00] [r=20.00]
+ RenderSVGEllipse {circle} at (54,0) size 42x41 [fill={[type=SOLID] [color=#FFFFFF]}] [cx=75.00] [cy=20.00] [r=20.00]
+ RenderSVGEllipse {circle} at (54,39) size 42x42 [fill={[type=SOLID] [color=#FFFFFF]}] [cx=75.00] [cy=60.00] [r=20.00]
RenderSVGResourceMasker {mask} [id="mask_2"] [maskUnits=objectBoundingBox] [maskContentUnits=userSpaceOnUse]
- RenderSVGEllipse {circle} at (5,0) size 40x40 [fill={[type=SOLID] [color=#FFFFFF]}] [cx=25.00] [cy=20.00] [r=20.00]
- RenderSVGEllipse {circle} at (5,40) size 40x40 [fill={[type=SOLID] [color=#FFFFFF]}] [cx=25.00] [cy=60.00] [r=20.00]
- RenderSVGEllipse {circle} at (55,0) size 40x40 [fill={[type=SOLID] [color=#FFFFFF]}] [cx=75.00] [cy=20.00] [r=20.00]
- RenderSVGEllipse {circle} at (55,40) size 40x40 [fill={[type=SOLID] [color=#FFFFFF]}] [cx=75.00] [cy=60.00] [r=20.00]
+ RenderSVGEllipse {circle} at (4,0) size 42x41 [fill={[type=SOLID] [color=#FFFFFF]}] [cx=25.00] [cy=20.00] [r=20.00]
+ RenderSVGEllipse {circle} at (4,39) size 42x42 [fill={[type=SOLID] [color=#FFFFFF]}] [cx=25.00] [cy=60.00] [r=20.00]
+ RenderSVGEllipse {circle} at (54,0) size 42x41 [fill={[type=SOLID] [color=#FFFFFF]}] [cx=75.00] [cy=20.00] [r=20.00]
+ RenderSVGEllipse {circle} at (54,39) size 42x42 [fill={[type=SOLID] [color=#FFFFFF]}] [cx=75.00] [cy=60.00] [r=20.00]
RenderSVGResourceMasker {mask} [id="mask_3"] [maskUnits=userSpaceOnUse] [maskContentUnits=userSpaceOnUse]
- RenderSVGEllipse {circle} at (5,0) size 40x40 [fill={[type=SOLID] [color=#FFFFFF]}] [cx=25.00] [cy=20.00] [r=20.00]
- RenderSVGEllipse {circle} at (5,40) size 40x40 [fill={[type=SOLID] [color=#FFFFFF]}] [cx=25.00] [cy=60.00] [r=20.00]
- RenderSVGEllipse {circle} at (55,0) size 40x40 [fill={[type=SOLID] [color=#FFFFFF]}] [cx=75.00] [cy=20.00] [r=20.00]
- RenderSVGEllipse {circle} at (55,40) size 40x40 [fill={[type=SOLID] [color=#FFFFFF]}] [cx=75.00] [cy=60.00] [r=20.00]
+ RenderSVGEllipse {circle} at (4,0) size 42x41 [fill={[type=SOLID] [color=#FFFFFF]}] [cx=25.00] [cy=20.00] [r=20.00]
+ RenderSVGEllipse {circle} at (4,39) size 42x42 [fill={[type=SOLID] [color=#FFFFFF]}] [cx=25.00] [cy=60.00] [r=20.00]
+ RenderSVGEllipse {circle} at (54,0) size 42x41 [fill={[type=SOLID] [color=#FFFFFF]}] [cx=75.00] [cy=20.00] [r=20.00]
+ RenderSVGEllipse {circle} at (54,39) size 42x42 [fill={[type=SOLID] [color=#FFFFFF]}] [cx=75.00] [cy=60.00] [r=20.00]
RenderSVGResourceMasker {mask} [id="mask_4"] [maskUnits=objectBoundingBox] [maskContentUnits=objectBoundingBox]
RenderSVGEllipse {circle} at (0,0) size 1x1 [fill={[type=SOLID] [color=#FFFFFF]}] [cx=0.25] [cy=0.20] [r=0.20]
- RenderSVGEllipse {circle} at (0,0) size 1x1 [fill={[type=SOLID] [color=#FFFFFF]}] [cx=0.25] [cy=0.60] [r=0.20]
- RenderSVGEllipse {circle} at (0,0) size 1x1 [fill={[type=SOLID] [color=#FFFFFF]}] [cx=0.75] [cy=0.20] [r=0.20]
- RenderSVGEllipse {circle} at (0,0) size 1x1 [fill={[type=SOLID] [color=#FFFFFF]}] [cx=0.75] [cy=0.60] [r=0.20]
+ RenderSVGEllipse {circle} at (0,0) size 1x2 [fill={[type=SOLID] [color=#FFFFFF]}] [cx=0.25] [cy=0.60] [r=0.20]
+ RenderSVGEllipse {circle} at (0,0) size 2x1 [fill={[type=SOLID] [color=#FFFFFF]}] [cx=0.75] [cy=0.20] [r=0.20]
+ RenderSVGEllipse {circle} at (0,0) size 2x2 [fill={[type=SOLID] [color=#FFFFFF]}] [cx=0.75] [cy=0.60] [r=0.20]
RenderSVGContainer {g} at (175,82) size 100x98 [transform={m=((1.00,0.00)(0.00,1.00)) t=(175.00,100.00)}]
RenderSVGContainer {use} at (175,100) size 100x80
RenderSVGRect {rect} at (175,100) size 100x80 [fill={[type=LINEAR-GRADIENT] [id="maskedGradient"]}] [x=0.00] [y=0.00] [width=100.00] [height=80.00]
RenderSVGText {text} at (22,-18) size 56x18 contains 1 chunk(s)
RenderSVGInlineText {#text} at (0,0) size 56x18
chunk 1 (middle anchor) text run 1 at (22.00,-3.00) startOffset 0 endOffset 6 width 56.00: "Masked"
- RenderSVGContainer {g} at (90,202) size 90x98 [transform={m=((1.00,0.00)(0.00,1.00)) t=(85.00,220.00)}]
- RenderSVGContainer {use} at (90,220) size 90x80
- [masker="mask_1"] RenderSVGResourceMasker {mask} at (5,0) size 90x80
+ RenderSVGContainer {g} at (89,202) size 92x98 [transform={m=((1.00,0.00)(0.00,1.00)) t=(85.00,220.00)}]
+ RenderSVGContainer {use} at (89,220) size 92x80
+ [masker="mask_1"] RenderSVGResourceMasker {mask} at (4.50,-0.50) size 91x81
RenderSVGRect {rect} at (85,220) size 100x80 [fill={[type=LINEAR-GRADIENT] [id="maskedGradient"]}] [x=0.00] [y=0.00] [width=100.00] [height=80.00]
RenderSVGText {text} at (24,-18) size 52x18 contains 1 chunk(s)
RenderSVGInlineText {#text} at (0,0) size 51x18
@@ -58,9 +58,9 @@ layer at (0,0) size 450x500
RenderSVGText {text} at (24,-18) size 52x18 contains 1 chunk(s)
RenderSVGInlineText {#text} at (0,0) size 51x18
chunk 1 (middle anchor) text run 1 at (24.50,-3.00) startOffset 0 endOffset 6 width 51.00: "Mask 3"
- RenderSVGContainer {g} at (265,322) size 90x82 [transform={m=((1.00,0.00)(0.00,1.00)) t=(260.00,340.00)}]
- RenderSVGContainer {use} at (265,340) size 90x64
- [masker="mask_4"] RenderSVGResourceMasker {mask} at (5.00,0) size 90.00x64.00
+ RenderSVGContainer {g} at (260,322) size 100x98 [transform={m=((1.00,0.00)(0.00,1.00)) t=(260.00,340.00)}]
+ RenderSVGContainer {use} at (260,340) size 100x80
+ [masker="mask_4"] RenderSVGResourceMasker {mask} at (0,0) size 100x80
RenderSVGRect {rect} at (260,340) size 100x80 [fill={[type=LINEAR-GRADIENT] [id="maskedGradient"]}] [x=0.00] [y=0.00] [width=100.00] [height=80.00]
RenderSVGText {text} at (24,-18) size 52x18 contains 1 chunk(s)
RenderSVGInlineText {#text} at (0,0) size 51x18

Powered by Google App Engine
This is Rietveld 408576698