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

Unified Diff: LayoutTests/platform/linux/svg/W3C-SVG-1.1/styling-css-02-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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/platform/linux/svg/W3C-SVG-1.1/styling-css-02-b-expected.txt
diff --git a/LayoutTests/platform/win/svg/W3C-SVG-1.1/styling-css-02-b-expected.txt b/LayoutTests/platform/linux/svg/W3C-SVG-1.1/styling-css-02-b-expected.txt
similarity index 88%
copy from LayoutTests/platform/win/svg/W3C-SVG-1.1/styling-css-02-b-expected.txt
copy to LayoutTests/platform/linux/svg/W3C-SVG-1.1/styling-css-02-b-expected.txt
index a0137f8e7e25debf02dfef22a4efa74847fda4a7..4df550833a64a430ddddc542ebcacc2e7e8ab4d7 100644
--- a/LayoutTests/platform/win/svg/W3C-SVG-1.1/styling-css-02-b-expected.txt
+++ b/LayoutTests/platform/linux/svg/W3C-SVG-1.1/styling-css-02-b-expected.txt
@@ -2,7 +2,7 @@ layer at (0,0) size 480x360
RenderView at (0,0) size 480x360
layer at (0,0) size 480x360
RenderSVGRoot {svg} at (0,0) size 480x360
- RenderSVGContainer {g} at (40,2) size 350x278
+ RenderSVGContainer {g} at (40,2) size 350x279
RenderSVGHiddenContainer {defs} at (0,0) size 0x0
RenderSVGText {text} at (40,2) size 190x15 contains 1 chunk(s)
RenderSVGInlineText {#text} at (0,0) size 190x15
@@ -10,11 +10,11 @@ layer at (0,0) size 480x360
RenderSVGText {text} at (40,24) size 338x15 contains 1 chunk(s)
RenderSVGInlineText {#text} at (0,0) size 338x15
chunk 1 text run 1 at (40.00,36.00) startOffset 0 endOffset 64 width 338.00: "This tests id selectors: <rect id=\"one\" /> and the selector #one"
- RenderSVGContainer {g} at (130,70) size 260x60
- RenderSVGEllipse {circle} at (130,70) size 60x60 [fill={[type=SOLID] [color=#008000]}] [cx=160.00] [cy=100.00] [r=30.00]
+ RenderSVGContainer {g} at (129,69) size 261x62
+ RenderSVGEllipse {circle} at (129,69) size 62x62 [fill={[type=SOLID] [color=#008000]}] [cx=160.00] [cy=100.00] [r=30.00]
RenderSVGRect {rect} at (220,80) size 60x40 [fill={[type=SOLID] [color=#FF0000]}] [x=220.00] [y=80.00] [width=60.00] [height=40.00]
RenderSVGPath {polygon} at (300,70) size 90x50 [fill={[type=SOLID] [color=#008000]}] [points="300 100 320 120 340 110 360 120 390 90 340 70"]
- RenderSVGContainer {g} at (40,152) size 350x128 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,150.00)}]
+ RenderSVGContainer {g} at (40,152) size 350x129 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,150.00)}]
RenderSVGText {text} at (40,2) size 266x15 contains 1 chunk(s)
RenderSVGInlineText {#text} at (0,0) size 266x15
chunk 1 text run 1 at (40.00,14.00) startOffset 0 endOffset 51 width 266.00: "Circle should be red not green; rectangle still red"
@@ -24,8 +24,8 @@ layer at (0,0) size 480x360
RenderSVGText {text} at (40,46) size 210x15 contains 1 chunk(s)
RenderSVGInlineText {#text} at (0,0) size 210x15
chunk 1 text run 1 at (40.00,58.00) startOffset 0 endOffset 39 width 210.00: "and the selector [transform=\"scale(2)\"]"
- RenderSVGContainer {g} at (130,220) size 260x60
- RenderSVGEllipse {circle} at (130,220) size 60x60 [transform={m=((2.00,0.00)(0.00,2.00)) t=(0.00,0.00)}] [fill={[type=SOLID] [color=#FF0000]}] [cx=80.00] [cy=50.00] [r=15.00]
+ RenderSVGContainer {g} at (129,219) size 261x62
+ RenderSVGEllipse {circle} at (129,219) size 62x62 [transform={m=((2.00,0.00)(0.00,2.00)) t=(0.00,0.00)}] [fill={[type=SOLID] [color=#FF0000]}] [cx=80.00] [cy=50.00] [r=15.00]
RenderSVGRect {rect} at (220,230) size 60x40 [fill={[type=SOLID] [color=#FF0000]}] [x=220.00] [y=80.00] [width=60.00] [height=40.00]
RenderSVGPath {polygon} at (300,220) size 90x50 [fill={[type=SOLID] [color=#008000]}] [points="300 100 320 120 340 110 360 120 390 90 340 70"]
RenderSVGText {text} at (10,304) size 261x46 contains 1 chunk(s)

Powered by Google App Engine
This is Rietveld 408576698