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 720776 823c24d26e34e758d61e3c2c853c4e14f806231e
parent 720775 0acaec7a5d74557debe4b29be592cfde7481cfd9
child 720777 52ed356faf5e0bae32f2afc2b667af085d81eeee
push id95637
push userbmo:tlin@mozilla.com
push dateTue, 16 Jan 2018 08:27:22 +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;