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

Unified Diff: LayoutTests/platform/linux/svg/custom/preserve-aspect-ratio-syntax-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/custom/preserve-aspect-ratio-syntax-expected.txt
diff --git a/LayoutTests/platform/win/svg/custom/preserve-aspect-ratio-syntax-expected.txt b/LayoutTests/platform/linux/svg/custom/preserve-aspect-ratio-syntax-expected.txt
similarity index 78%
copy from LayoutTests/platform/win/svg/custom/preserve-aspect-ratio-syntax-expected.txt
copy to LayoutTests/platform/linux/svg/custom/preserve-aspect-ratio-syntax-expected.txt
index 7383b27aed355f5886fbee801b0b76467316c3eb..795bb8ffaa78933910b4dc98f3bcc2132d3e75af 100644
--- a/LayoutTests/platform/win/svg/custom/preserve-aspect-ratio-syntax-expected.txt
+++ b/LayoutTests/platform/linux/svg/custom/preserve-aspect-ratio-syntax-expected.txt
@@ -14,50 +14,50 @@ layer at (0,0) size 800x600
RenderSVGContainer {g} at (0,100) size 50x67 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,50.00)}]
RenderSVGViewportContainer {svg} at (0,100) size 50x67
RenderSVGRect {rect} at (0,100) size 50x67 [stroke={[type=SOLID] [color=#FF0000]}] [fill={[type=SOLID] [color=#000000]}] [x=0.50] [y=0.50] [width=29.00] [height=39.00]
- RenderSVGContainer {g} at (8,116) size 34x34 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,5.00)}]
- RenderSVGEllipse {circle} at (8,116) size 34x34 [fill={[type=SOLID] [color=#FFFF00]}] [cx=15.00] [cy=15.00] [r=10.00]
- RenderSVGEllipse {circle} at (17,125) size 6x6 [fill={[type=SOLID] [color=#000000]}] [cx=12.00] [cy=12.00] [r=1.50]
- RenderSVGEllipse {circle} at (25,125) size 6x6 [fill={[type=SOLID] [color=#000000]}] [cx=17.00] [cy=12.00] [r=1.50]
+ RenderSVGContainer {g} at (7,115) size 36x36 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,5.00)}]
+ RenderSVGEllipse {circle} at (7,115) size 36x36 [fill={[type=SOLID] [color=#FFFF00]}] [cx=15.00] [cy=15.00] [r=10.00]
+ RenderSVGEllipse {circle} at (16,125) size 8x7 [fill={[type=SOLID] [color=#000000]}] [cx=12.00] [cy=12.00] [r=1.50]
+ RenderSVGEllipse {circle} at (25,125) size 7x7 [fill={[type=SOLID] [color=#000000]}] [cx=17.00] [cy=12.00] [r=1.50]
RenderSVGPath {path} at (15,138) size 20x11 [stroke={[type=SOLID] [color=#000000] [stroke width=2.00]}] [fill={[type=SOLID] [color=#000000]}] [data="M 10 19 L 15 23 L 20 19"]
RenderSVGContainer {g} at (83,100) size 51x67 [transform={m=((1.00,0.00)(0.00,1.00)) t=(50.00,50.00)}]
RenderSVGViewportContainer {svg} at (83,100) size 51x67
RenderSVGRect {rect} at (83,100) size 51x67 [stroke={[type=SOLID] [color=#FF0000]}] [fill={[type=SOLID] [color=#000000]}] [x=0.50] [y=0.50] [width=29.00] [height=39.00]
- RenderSVGContainer {g} at (91,116) size 34x34 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,5.00)}]
- RenderSVGEllipse {circle} at (91,116) size 34x34 [fill={[type=SOLID] [color=#FFFF00]}] [cx=15.00] [cy=15.00] [r=10.00]
- RenderSVGEllipse {circle} at (100,125) size 6x6 [fill={[type=SOLID] [color=#000000]}] [cx=12.00] [cy=12.00] [r=1.50]
- RenderSVGEllipse {circle} at (109,125) size 6x6 [fill={[type=SOLID] [color=#000000]}] [cx=17.00] [cy=12.00] [r=1.50]
+ RenderSVGContainer {g} at (90,115) size 36x36 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,5.00)}]
+ RenderSVGEllipse {circle} at (90,115) size 36x36 [fill={[type=SOLID] [color=#FFFF00]}] [cx=15.00] [cy=15.00] [r=10.00]
+ RenderSVGEllipse {circle} at (100,125) size 7x7 [fill={[type=SOLID] [color=#000000]}] [cx=12.00] [cy=12.00] [r=1.50]
+ RenderSVGEllipse {circle} at (108,125) size 7x7 [fill={[type=SOLID] [color=#000000]}] [cx=17.00] [cy=12.00] [r=1.50]
RenderSVGPath {path} at (98,138) size 20x11 [stroke={[type=SOLID] [color=#000000] [stroke width=2.00]}] [fill={[type=SOLID] [color=#000000]}] [data="M 10 19 L 15 23 L 20 19"]
RenderSVGContainer {g} at (166,100) size 51x67 [transform={m=((1.00,0.00)(0.00,1.00)) t=(100.00,50.00)}]
RenderSVGViewportContainer {svg} at (166,100) size 51x67
RenderSVGRect {rect} at (166,100) size 51x67 [stroke={[type=SOLID] [color=#FF0000]}] [fill={[type=SOLID] [color=#000000]}] [x=0.50] [y=0.50] [width=29.00] [height=39.00]
- RenderSVGContainer {g} at (175,116) size 34x34 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,5.00)}]
- RenderSVGEllipse {circle} at (175,116) size 34x34 [fill={[type=SOLID] [color=#FFFF00]}] [cx=15.00] [cy=15.00] [r=10.00]
- RenderSVGEllipse {circle} at (184,125) size 6x6 [fill={[type=SOLID] [color=#000000]}] [cx=12.00] [cy=12.00] [r=1.50]
- RenderSVGEllipse {circle} at (192,125) size 6x6 [fill={[type=SOLID] [color=#000000]}] [cx=17.00] [cy=12.00] [r=1.50]
+ RenderSVGContainer {g} at (174,115) size 36x36 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,5.00)}]
+ RenderSVGEllipse {circle} at (174,115) size 36x36 [fill={[type=SOLID] [color=#FFFF00]}] [cx=15.00] [cy=15.00] [r=10.00]
+ RenderSVGEllipse {circle} at (183,125) size 7x7 [fill={[type=SOLID] [color=#000000]}] [cx=12.00] [cy=12.00] [r=1.50]
+ RenderSVGEllipse {circle} at (191,125) size 8x7 [fill={[type=SOLID] [color=#000000]}] [cx=17.00] [cy=12.00] [r=1.50]
RenderSVGPath {path} at (182,138) size 20x11 [stroke={[type=SOLID] [color=#000000] [stroke width=2.00]}] [fill={[type=SOLID] [color=#000000]}] [data="M 10 19 L 15 23 L 20 19"]
RenderSVGContainer {g} at (250,100) size 50x67 [transform={m=((1.00,0.00)(0.00,1.00)) t=(150.00,50.00)}]
RenderSVGViewportContainer {svg} at (250,100) size 50x67
RenderSVGRect {rect} at (250,100) size 50x67 [stroke={[type=SOLID] [color=#FF0000]}] [fill={[type=SOLID] [color=#000000]}] [x=0.50] [y=0.50] [width=29.00] [height=39.00]
- RenderSVGContainer {g} at (258,116) size 34x34 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,5.00)}]
- RenderSVGEllipse {circle} at (258,116) size 34x34 [fill={[type=SOLID] [color=#FFFF00]}] [cx=15.00] [cy=15.00] [r=10.00]
- RenderSVGEllipse {circle} at (267,125) size 6x6 [fill={[type=SOLID] [color=#000000]}] [cx=12.00] [cy=12.00] [r=1.50]
- RenderSVGEllipse {circle} at (275,125) size 6x6 [fill={[type=SOLID] [color=#000000]}] [cx=17.00] [cy=12.00] [r=1.50]
+ RenderSVGContainer {g} at (257,115) size 36x36 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,5.00)}]
+ RenderSVGEllipse {circle} at (257,115) size 36x36 [fill={[type=SOLID] [color=#FFFF00]}] [cx=15.00] [cy=15.00] [r=10.00]
+ RenderSVGEllipse {circle} at (266,125) size 8x7 [fill={[type=SOLID] [color=#000000]}] [cx=12.00] [cy=12.00] [r=1.50]
+ RenderSVGEllipse {circle} at (275,125) size 7x7 [fill={[type=SOLID] [color=#000000]}] [cx=17.00] [cy=12.00] [r=1.50]
RenderSVGPath {path} at (265,138) size 20x11 [stroke={[type=SOLID] [color=#000000] [stroke width=2.00]}] [fill={[type=SOLID] [color=#000000]}] [data="M 10 19 L 15 23 L 20 19"]
RenderSVGContainer {g} at (333,100) size 51x67 [transform={m=((1.00,0.00)(0.00,1.00)) t=(200.00,50.00)}]
RenderSVGViewportContainer {svg} at (333,100) size 51x67
RenderSVGRect {rect} at (333,100) size 51x67 [stroke={[type=SOLID] [color=#FF0000]}] [fill={[type=SOLID] [color=#000000]}] [x=0.50] [y=0.50] [width=29.00] [height=39.00]
- RenderSVGContainer {g} at (341,116) size 34x34 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,5.00)}]
- RenderSVGEllipse {circle} at (341,116) size 34x34 [fill={[type=SOLID] [color=#FFFF00]}] [cx=15.00] [cy=15.00] [r=10.00]
- RenderSVGEllipse {circle} at (350,125) size 6x6 [fill={[type=SOLID] [color=#000000]}] [cx=12.00] [cy=12.00] [r=1.50]
- RenderSVGEllipse {circle} at (359,125) size 6x6 [fill={[type=SOLID] [color=#000000]}] [cx=17.00] [cy=12.00] [r=1.50]
+ RenderSVGContainer {g} at (340,115) size 36x36 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,5.00)}]
+ RenderSVGEllipse {circle} at (340,115) size 36x36 [fill={[type=SOLID] [color=#FFFF00]}] [cx=15.00] [cy=15.00] [r=10.00]
+ RenderSVGEllipse {circle} at (350,125) size 7x7 [fill={[type=SOLID] [color=#000000]}] [cx=12.00] [cy=12.00] [r=1.50]
+ RenderSVGEllipse {circle} at (358,125) size 7x7 [fill={[type=SOLID] [color=#000000]}] [cx=17.00] [cy=12.00] [r=1.50]
RenderSVGPath {path} at (348,138) size 20x11 [stroke={[type=SOLID] [color=#000000] [stroke width=2.00]}] [fill={[type=SOLID] [color=#000000]}] [data="M 10 19 L 15 23 L 20 19"]
RenderSVGContainer {g} at (416,100) size 51x67 [transform={m=((1.00,0.00)(0.00,1.00)) t=(250.00,50.00)}]
RenderSVGViewportContainer {svg} at (416,100) size 51x67
RenderSVGRect {rect} at (416,100) size 51x67 [stroke={[type=SOLID] [color=#FF0000]}] [fill={[type=SOLID] [color=#000000]}] [x=0.50] [y=0.50] [width=29.00] [height=39.00]
- RenderSVGContainer {g} at (425,116) size 34x34 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,5.00)}]
- RenderSVGEllipse {circle} at (425,116) size 34x34 [fill={[type=SOLID] [color=#FFFF00]}] [cx=15.00] [cy=15.00] [r=10.00]
- RenderSVGEllipse {circle} at (434,125) size 6x6 [fill={[type=SOLID] [color=#000000]}] [cx=12.00] [cy=12.00] [r=1.50]
- RenderSVGEllipse {circle} at (442,125) size 6x6 [fill={[type=SOLID] [color=#000000]}] [cx=17.00] [cy=12.00] [r=1.50]
+ RenderSVGContainer {g} at (424,115) size 36x36 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,5.00)}]
+ RenderSVGEllipse {circle} at (424,115) size 36x36 [fill={[type=SOLID] [color=#FFFF00]}] [cx=15.00] [cy=15.00] [r=10.00]
+ RenderSVGEllipse {circle} at (433,125) size 7x7 [fill={[type=SOLID] [color=#000000]}] [cx=12.00] [cy=12.00] [r=1.50]
+ RenderSVGEllipse {circle} at (441,125) size 8x7 [fill={[type=SOLID] [color=#000000]}] [cx=17.00] [cy=12.00] [r=1.50]
RenderSVGPath {path} at (432,138) size 20x11 [stroke={[type=SOLID] [color=#000000] [stroke width=2.00]}] [fill={[type=SOLID] [color=#000000]}] [data="M 10 19 L 15 23 L 20 19"]
RenderSVGText {text} at (0,182) size 257x11 contains 1 chunk(s)
RenderSVGInlineText {#text} at (0,0) size 257x11
@@ -65,32 +65,32 @@ layer at (0,0) size 800x600
RenderSVGContainer {g} at (0,350) size 50x67 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,200.00)}]
RenderSVGViewportContainer {svg} at (0,350) size 50x67
RenderSVGRect {rect} at (0,350) size 50x67 [stroke={[type=SOLID] [color=#FF0000]}] [fill={[type=SOLID] [color=#000000]}] [x=0.50] [y=0.50] [width=29.00] [height=39.00]
- RenderSVGContainer {g} at (8,366) size 34x34 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,5.00)}]
- RenderSVGEllipse {circle} at (8,366) size 34x34 [fill={[type=SOLID] [color=#FFFF00]}] [cx=15.00] [cy=15.00] [r=10.00]
- RenderSVGEllipse {circle} at (17,375) size 6x6 [fill={[type=SOLID] [color=#000000]}] [cx=12.00] [cy=12.00] [r=1.50]
- RenderSVGEllipse {circle} at (25,375) size 6x6 [fill={[type=SOLID] [color=#000000]}] [cx=17.00] [cy=12.00] [r=1.50]
+ RenderSVGContainer {g} at (7,365) size 36x36 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,5.00)}]
+ RenderSVGEllipse {circle} at (7,365) size 36x36 [fill={[type=SOLID] [color=#FFFF00]}] [cx=15.00] [cy=15.00] [r=10.00]
+ RenderSVGEllipse {circle} at (16,375) size 8x7 [fill={[type=SOLID] [color=#000000]}] [cx=12.00] [cy=12.00] [r=1.50]
+ RenderSVGEllipse {circle} at (25,375) size 7x7 [fill={[type=SOLID] [color=#000000]}] [cx=17.00] [cy=12.00] [r=1.50]
RenderSVGPath {path} at (15,388) size 20x11 [stroke={[type=SOLID] [color=#000000] [stroke width=2.00]}] [fill={[type=SOLID] [color=#000000]}] [data="M 10 19 L 15 23 L 20 19"]
RenderSVGContainer {g} at (83,350) size 51x67 [transform={m=((1.00,0.00)(0.00,1.00)) t=(50.00,200.00)}]
RenderSVGViewportContainer {svg} at (83,350) size 51x67
RenderSVGRect {rect} at (83,350) size 51x67 [stroke={[type=SOLID] [color=#FF0000]}] [fill={[type=SOLID] [color=#000000]}] [x=0.50] [y=0.50] [width=29.00] [height=39.00]
- RenderSVGContainer {g} at (91,366) size 34x34 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,5.00)}]
- RenderSVGEllipse {circle} at (91,366) size 34x34 [fill={[type=SOLID] [color=#FFFF00]}] [cx=15.00] [cy=15.00] [r=10.00]
- RenderSVGEllipse {circle} at (100,375) size 6x6 [fill={[type=SOLID] [color=#000000]}] [cx=12.00] [cy=12.00] [r=1.50]
- RenderSVGEllipse {circle} at (109,375) size 6x6 [fill={[type=SOLID] [color=#000000]}] [cx=17.00] [cy=12.00] [r=1.50]
+ RenderSVGContainer {g} at (90,365) size 36x36 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,5.00)}]
+ RenderSVGEllipse {circle} at (90,365) size 36x36 [fill={[type=SOLID] [color=#FFFF00]}] [cx=15.00] [cy=15.00] [r=10.00]
+ RenderSVGEllipse {circle} at (100,375) size 7x7 [fill={[type=SOLID] [color=#000000]}] [cx=12.00] [cy=12.00] [r=1.50]
+ RenderSVGEllipse {circle} at (108,375) size 7x7 [fill={[type=SOLID] [color=#000000]}] [cx=17.00] [cy=12.00] [r=1.50]
RenderSVGPath {path} at (98,388) size 20x11 [stroke={[type=SOLID] [color=#000000] [stroke width=2.00]}] [fill={[type=SOLID] [color=#000000]}] [data="M 10 19 L 15 23 L 20 19"]
RenderSVGContainer {g} at (166,350) size 51x67 [transform={m=((1.00,0.00)(0.00,1.00)) t=(100.00,200.00)}]
RenderSVGViewportContainer {svg} at (166,350) size 51x67
RenderSVGRect {rect} at (166,350) size 51x67 [stroke={[type=SOLID] [color=#FF0000]}] [fill={[type=SOLID] [color=#000000]}] [x=0.50] [y=0.50] [width=29.00] [height=39.00]
- RenderSVGContainer {g} at (175,366) size 34x34 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,5.00)}]
- RenderSVGEllipse {circle} at (175,366) size 34x34 [fill={[type=SOLID] [color=#FFFF00]}] [cx=15.00] [cy=15.00] [r=10.00]
- RenderSVGEllipse {circle} at (184,375) size 6x6 [fill={[type=SOLID] [color=#000000]}] [cx=12.00] [cy=12.00] [r=1.50]
- RenderSVGEllipse {circle} at (192,375) size 6x6 [fill={[type=SOLID] [color=#000000]}] [cx=17.00] [cy=12.00] [r=1.50]
+ RenderSVGContainer {g} at (174,365) size 36x36 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,5.00)}]
+ RenderSVGEllipse {circle} at (174,365) size 36x36 [fill={[type=SOLID] [color=#FFFF00]}] [cx=15.00] [cy=15.00] [r=10.00]
+ RenderSVGEllipse {circle} at (183,375) size 7x7 [fill={[type=SOLID] [color=#000000]}] [cx=12.00] [cy=12.00] [r=1.50]
+ RenderSVGEllipse {circle} at (191,375) size 8x7 [fill={[type=SOLID] [color=#000000]}] [cx=17.00] [cy=12.00] [r=1.50]
RenderSVGPath {path} at (182,388) size 20x11 [stroke={[type=SOLID] [color=#000000] [stroke width=2.00]}] [fill={[type=SOLID] [color=#000000]}] [data="M 10 19 L 15 23 L 20 19"]
RenderSVGContainer {g} at (250,350) size 50x67 [transform={m=((1.00,0.00)(0.00,1.00)) t=(150.00,200.00)}]
RenderSVGViewportContainer {svg} at (250,350) size 50x67
RenderSVGRect {rect} at (250,350) size 50x67 [stroke={[type=SOLID] [color=#FF0000]}] [fill={[type=SOLID] [color=#000000]}] [x=0.50] [y=0.50] [width=29.00] [height=39.00]
- RenderSVGContainer {g} at (258,366) size 34x34 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,5.00)}]
- RenderSVGEllipse {circle} at (258,366) size 34x34 [fill={[type=SOLID] [color=#FFFF00]}] [cx=15.00] [cy=15.00] [r=10.00]
- RenderSVGEllipse {circle} at (267,375) size 6x6 [fill={[type=SOLID] [color=#000000]}] [cx=12.00] [cy=12.00] [r=1.50]
- RenderSVGEllipse {circle} at (275,375) size 6x6 [fill={[type=SOLID] [color=#000000]}] [cx=17.00] [cy=12.00] [r=1.50]
+ RenderSVGContainer {g} at (257,365) size 36x36 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,5.00)}]
+ RenderSVGEllipse {circle} at (257,365) size 36x36 [fill={[type=SOLID] [color=#FFFF00]}] [cx=15.00] [cy=15.00] [r=10.00]
+ RenderSVGEllipse {circle} at (266,375) size 8x7 [fill={[type=SOLID] [color=#000000]}] [cx=12.00] [cy=12.00] [r=1.50]
+ RenderSVGEllipse {circle} at (275,375) size 7x7 [fill={[type=SOLID] [color=#000000]}] [cx=17.00] [cy=12.00] [r=1.50]
RenderSVGPath {path} at (265,388) size 20x11 [stroke={[type=SOLID] [color=#000000] [stroke width=2.00]}] [fill={[type=SOLID] [color=#000000]}] [data="M 10 19 L 15 23 L 20 19"]

Powered by Google App Engine
This is Rietveld 408576698