Bug 1404222 Part 3 - Adjust the #image width in shape-image-001.html. draft
authorTing-Yu Lin <tlin@mozilla.com>
Mon, 15 Jan 2018 13:36:16 +0800
changeset 720819 8a2d69cf2c54e5c28302512b09e25a98e4bfa927
parent 720818 0a35c921c42bde16fcef58ad883b2cbc77e98fc1
child 720820 9d055ad487c718d28dce0e05909c4f4943c5f953
push id95655
push userbmo:tlin@mozilla.com
push dateTue, 16 Jan 2018 10:10:17 +0000
bugs1404222
milestone59.0a1
Bug 1404222 Part 3 - Adjust the #image width in shape-image-001.html. Per spec [1], the shape image's width is the #image's content box width (150px), so there's available space for for the two 'X'. I change the #image's width 100px so that the two "X" fit in the container. [1] https://drafts.csswg.org/css-shapes-1/#shapes-from-image MozReview-Commit-ID: AF03OGlZlij
testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-001.html
--- a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-001.html
+++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/shape-image-001.html
@@ -17,17 +17,17 @@
         }
         #test {
             width: 150px;
             color: rgb(0, 100, 0);
             background-color: black;
         }
         #image {
             float: left;
-            width: 150px;
+            width: 100px;
             height: 100px;
             shape-outside: url("support/left-half-rectangle-70.png");
         }
         #failure {
             width: 50px;
             height: 100px;
             background-color: red;
             position: absolute;