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

Unified Diff: LayoutTests/platform/linux/svg/zoom/page/zoom-mask-with-percentages-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/zoom/page/zoom-mask-with-percentages-expected.txt
diff --git a/LayoutTests/platform/win/svg/zoom/page/zoom-mask-with-percentages-expected.txt b/LayoutTests/platform/linux/svg/zoom/page/zoom-mask-with-percentages-expected.txt
similarity index 71%
copy from LayoutTests/platform/win/svg/zoom/page/zoom-mask-with-percentages-expected.txt
copy to LayoutTests/platform/linux/svg/zoom/page/zoom-mask-with-percentages-expected.txt
index c215ae9fc4810537792dd9e9918942a68ca29cf5..87f34a31469dd19e3046e9cd114b3456df7c8a41 100644
--- a/LayoutTests/platform/win/svg/zoom/page/zoom-mask-with-percentages-expected.txt
+++ b/LayoutTests/platform/linux/svg/zoom/page/zoom-mask-with-percentages-expected.txt
@@ -1,8 +1,8 @@
layer at (0,0) size 933x1037
RenderView at (0,0) size 785x585
layer at (0,0) size 933x1037
- RenderSVGRoot {svg} at (186,74) size 551x764
- RenderSVGContainer {g} at (186,74) size 551x764
+ RenderSVGRoot {svg} at (185,74) size 562x797
+ RenderSVGContainer {g} at (185,74) size 562x797
RenderSVGText {text} at (180,36) size 90x18 contains 1 chunk(s)
RenderSVGInlineText {#text} at (0,0) size 90x18
chunk 1 (middle anchor) text run 1 at (180.15,50.00) startOffset 0 endOffset 12 width 89.70: "Mask Regions"
@@ -12,34 +12,34 @@ layer at (0,0) size 933x1037
RenderSVGGradientStop {stop} [offset=1.00] [color=#FF0000]
RenderSVGRect {rect} at (0,0) size 208x166 [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 (10,0) size 84x83 [fill={[type=SOLID] [color=#FFFFFF]}] [cx=25.00] [cy=20.00] [r=20.00]
- RenderSVGEllipse {circle} at (10,82) size 84x84 [fill={[type=SOLID] [color=#FFFFFF]}] [cx=25.00] [cy=60.00] [r=20.00]
- RenderSVGEllipse {circle} at (114,0) size 83x83 [fill={[type=SOLID] [color=#FFFFFF]}] [cx=75.00] [cy=20.00] [r=20.00]
- RenderSVGEllipse {circle} at (114,82) size 83x84 [fill={[type=SOLID] [color=#FFFFFF]}] [cx=75.00] [cy=60.00] [r=20.00]
+ RenderSVGEllipse {circle} at (9,0) size 86x84 [fill={[type=SOLID] [color=#FFFFFF]}] [cx=25.00] [cy=20.00] [r=20.00]
+ RenderSVGEllipse {circle} at (9,81) size 86x86 [fill={[type=SOLID] [color=#FFFFFF]}] [cx=25.00] [cy=60.00] [r=20.00]
+ RenderSVGEllipse {circle} at (113,0) size 86x84 [fill={[type=SOLID] [color=#FFFFFF]}] [cx=75.00] [cy=20.00] [r=20.00]
+ RenderSVGEllipse {circle} at (113,81) size 86x86 [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 (10,0) size 84x83 [fill={[type=SOLID] [color=#FFFFFF]}] [cx=25.00] [cy=20.00] [r=20.00]
- RenderSVGEllipse {circle} at (10,82) size 84x84 [fill={[type=SOLID] [color=#FFFFFF]}] [cx=25.00] [cy=60.00] [r=20.00]
- RenderSVGEllipse {circle} at (114,0) size 83x83 [fill={[type=SOLID] [color=#FFFFFF]}] [cx=75.00] [cy=20.00] [r=20.00]
- RenderSVGEllipse {circle} at (114,82) size 83x84 [fill={[type=SOLID] [color=#FFFFFF]}] [cx=75.00] [cy=60.00] [r=20.00]
+ RenderSVGEllipse {circle} at (9,0) size 86x84 [fill={[type=SOLID] [color=#FFFFFF]}] [cx=25.00] [cy=20.00] [r=20.00]
+ RenderSVGEllipse {circle} at (9,81) size 86x86 [fill={[type=SOLID] [color=#FFFFFF]}] [cx=25.00] [cy=60.00] [r=20.00]
+ RenderSVGEllipse {circle} at (113,0) size 86x84 [fill={[type=SOLID] [color=#FFFFFF]}] [cx=75.00] [cy=20.00] [r=20.00]
+ RenderSVGEllipse {circle} at (113,81) size 86x86 [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 (10,0) size 84x83 [fill={[type=SOLID] [color=#FFFFFF]}] [cx=25.00] [cy=20.00] [r=20.00]
- RenderSVGEllipse {circle} at (10,82) size 84x84 [fill={[type=SOLID] [color=#FFFFFF]}] [cx=25.00] [cy=60.00] [r=20.00]
- RenderSVGEllipse {circle} at (114,0) size 83x83 [fill={[type=SOLID] [color=#FFFFFF]}] [cx=75.00] [cy=20.00] [r=20.00]
- RenderSVGEllipse {circle} at (114,82) size 83x84 [fill={[type=SOLID] [color=#FFFFFF]}] [cx=75.00] [cy=60.00] [r=20.00]
+ RenderSVGEllipse {circle} at (9,0) size 86x84 [fill={[type=SOLID] [color=#FFFFFF]}] [cx=25.00] [cy=20.00] [r=20.00]
+ RenderSVGEllipse {circle} at (9,81) size 86x86 [fill={[type=SOLID] [color=#FFFFFF]}] [cx=25.00] [cy=60.00] [r=20.00]
+ RenderSVGEllipse {circle} at (113,0) size 86x84 [fill={[type=SOLID] [color=#FFFFFF]}] [cx=75.00] [cy=20.00] [r=20.00]
+ RenderSVGEllipse {circle} at (113,81) size 86x86 [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 1x2 [fill={[type=SOLID] [color=#FFFFFF]}] [cx=0.25] [cy=0.60] [r=0.20]
- RenderSVGEllipse {circle} at (1,0) size 1x1 [fill={[type=SOLID] [color=#FFFFFF]}] [cx=0.75] [cy=0.20] [r=0.20]
- RenderSVGEllipse {circle} at (1,0) size 1x2 [fill={[type=SOLID] [color=#FFFFFF]}] [cx=0.75] [cy=0.60] [r=0.20]
+ RenderSVGEllipse {circle} at (0,0) size 2x2 [fill={[type=SOLID] [color=#FFFFFF]}] [cx=0.25] [cy=0.20] [r=0.20]
+ RenderSVGEllipse {circle} at (0,0) size 2x3 [fill={[type=SOLID] [color=#FFFFFF]}] [cx=0.25] [cy=0.60] [r=0.20]
+ RenderSVGEllipse {circle} at (0,0) size 4x2 [fill={[type=SOLID] [color=#FFFFFF]}] [cx=0.75] [cy=0.20] [r=0.20]
+ RenderSVGEllipse {circle} at (0,0) size 4x3 [fill={[type=SOLID] [color=#FFFFFF]}] [cx=0.75] [cy=0.60] [r=0.20]
RenderSVGContainer {g} at (362,172) size 209x202 [transform={m=((1.00,0.00)(0.00,1.00)) t=(175.00,100.00)}]
RenderSVGContainer {use} at (362,207) size 209x167
RenderSVGRect {rect} at (362,207) size 209x167 [fill={[type=LINEAR-GRADIENT] [id="maskedGradient"]}] [x=0.00] [y=0.00] [width=100.00] [height=80.00]
RenderSVGText {text} at (25,-17) size 50x18 contains 1 chunk(s)
RenderSVGInlineText {#text} at (0,0) size 50x18
chunk 1 (middle anchor) text run 1 at (25.16,-3.00) startOffset 0 endOffset 6 width 49.67: "Masked"
- RenderSVGContainer {g} at (186,420) size 188x203 [transform={m=((1.00,0.00)(0.00,1.00)) t=(85.00,220.00)}]
- RenderSVGContainer {use} at (186,456) size 188x167
- [masker="mask_1"] RenderSVGResourceMasker {mask} at (5,0) size 90x80
+ RenderSVGContainer {g} at (185,420) size 190x203 [transform={m=((1.00,0.00)(0.00,1.00)) t=(85.00,220.00)}]
+ RenderSVGContainer {use} at (185,456) size 190x167
+ [masker="mask_1"] RenderSVGResourceMasker {mask} at (4.50,-0.50) size 91x81
RenderSVGRect {rect} at (176,456) size 208x167 [fill={[type=LINEAR-GRADIENT] [id="maskedGradient"]}] [x=0.00] [y=0.00] [width=100.00] [height=80.00]
RenderSVGText {text} at (26,-17) size 48x18 contains 1 chunk(s)
RenderSVGInlineText {#text} at (0,0) size 48x18
@@ -58,9 +58,9 @@ layer at (0,0) size 933x1037
RenderSVGText {text} at (26,-17) size 48x18 contains 1 chunk(s)
RenderSVGInlineText {#text} at (0,0) size 48x18
chunk 1 (middle anchor) text run 1 at (26.37,-3.00) startOffset 0 endOffset 6 width 47.26: "Mask 3"
- RenderSVGContainer {g} at (549,669) size 188x169 [transform={m=((1.00,0.00)(0.00,1.00)) t=(260.00,340.00)}]
- RenderSVGContainer {use} at (549,705) size 188x133
- [masker="mask_4"] RenderSVGResourceMasker {mask} at (5.00,0) size 90.00x64.00
+ RenderSVGContainer {g} at (539,669) size 208x202 [transform={m=((1.00,0.00)(0.00,1.00)) t=(260.00,340.00)}]
+ RenderSVGContainer {use} at (539,705) size 208x166
+ [masker="mask_4"] RenderSVGResourceMasker {mask} at (0,0) size 100x80
RenderSVGRect {rect} at (539,705) size 208x166 [fill={[type=LINEAR-GRADIENT] [id="maskedGradient"]}] [x=0.00] [y=0.00] [width=100.00] [height=80.00]
RenderSVGText {text} at (26,-17) size 48x18 contains 1 chunk(s)
RenderSVGInlineText {#text} at (0,0) size 48x18

Powered by Google App Engine
This is Rietveld 408576698