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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/platform/linux/svg/W3C-SVG-1.1/coords-units-01-b-expected.txt
diff --git a/LayoutTests/platform/win/svg/W3C-SVG-1.1/coords-units-01-b-expected.txt b/LayoutTests/platform/linux/svg/W3C-SVG-1.1/coords-units-01-b-expected.txt
similarity index 97%
copy from LayoutTests/platform/win/svg/W3C-SVG-1.1/coords-units-01-b-expected.txt
copy to LayoutTests/platform/linux/svg/W3C-SVG-1.1/coords-units-01-b-expected.txt
index b6858623d7f77de8e4c7e041e0f11bc8a391b483..c9c2e0212ac0fd36bde8a96bc7283129fbd6de5a 100644
--- a/LayoutTests/platform/win/svg/W3C-SVG-1.1/coords-units-01-b-expected.txt
+++ b/LayoutTests/platform/linux/svg/W3C-SVG-1.1/coords-units-01-b-expected.txt
@@ -56,13 +56,13 @@ layer at (0,0) size 480x360
RenderSVGInlineText {#text} at (0,0) size 71x19
chunk 1 text run 1 at (122.00,70.00) startOffset 0 endOffset 10 width 71.00: "User Space"
RenderSVGResourcePattern {pattern} [id="patternBoundingBoxPercentage"] [patternUnits=objectBoundingBox] [patternContentUnits=objectBoundingBox]
- RenderSVGEllipse {circle} at (0,0) size 1x1 [fill={[type=SOLID] [color=#FF0000]}] [cx=0.50] [cy=0.50] [r=0.25]
+ RenderSVGEllipse {circle} at (0,0) size 2x2 [fill={[type=SOLID] [color=#FF0000]}] [cx=0.50] [cy=0.50] [r=0.25]
RenderSVGRect {rect} at (0,0) size 1x1 [fill={[type=SOLID] [color=#0000FF]}] [x=0.40] [y=0.40] [width=0.20] [height=0.20]
RenderSVGResourcePattern {pattern} [id="patternBoundingBoxFraction"] [patternUnits=objectBoundingBox] [patternContentUnits=objectBoundingBox]
- RenderSVGEllipse {circle} at (0,0) size 1x1 [fill={[type=SOLID] [color=#FF0000]}] [cx=0.50] [cy=0.50] [r=0.25]
+ RenderSVGEllipse {circle} at (0,0) size 2x2 [fill={[type=SOLID] [color=#FF0000]}] [cx=0.50] [cy=0.50] [r=0.25]
RenderSVGRect {rect} at (0,0) size 1x1 [fill={[type=SOLID] [color=#0000FF]}] [x=0.40] [y=0.40] [width=0.20] [height=0.20]
RenderSVGResourcePattern {pattern} [id="patternUserSpace"] [patternUnits=userSpaceOnUse] [patternContentUnits=userSpaceOnUse]
- RenderSVGEllipse {circle} at (15,5) size 20x20 [fill={[type=SOLID] [color=#FF0000]}] [cx=25.00] [cy=15.00] [r=10.00]
+ RenderSVGEllipse {circle} at (14,4) size 22x22 [fill={[type=SOLID] [color=#FF0000]}] [cx=25.00] [cy=15.00] [r=10.00]
RenderSVGRect {rect} at (20,12) size 10x6 [fill={[type=SOLID] [color=#0000FF]}] [x=20.00] [y=12.00] [width=10.00] [height=6.00]
RenderSVGText {text} at (30,225) size 362x19 contains 1 chunk(s)
RenderSVGInlineText {#text} at (0,0) size 362x19

Powered by Google App Engine
This is Rietveld 408576698