Bug 1404222 Part 8: Fix wpt reftest shape-image-001.html to correct a too-wide container.
MozReview-Commit-ID: 3fwtUNCqWLX
The test currently stretches a 100 x 100 image to 150 pixels wide, which makes
the shaded region of the png stretch to 75 pixels. None of the math in the
rest of the test accounts for this stretching, and the test fails on all
browsers. It seems clear that the intention was to use an unstretched, 100
pixel wide image, which makes the test pass.
--- 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;