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
--- 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;