Bug 1404222 Part 8: Fix wpt reftest shape-image-001.html to correct a too-wide container. r=dholbert
☠☠ backed out by 98749dde9018 ☠ ☠
authorBrad Werth <bwerth@mozilla.com>
Fri, 09 Feb 2018 16:24:03 -0800
changeset 411345 b79d6e8318db9e2aed12bb01d4150cb167daa743
parent 411344 0450620fdabdf1c9032c31836434acc5188ee682
child 411346 a1e4294c1c59556429fe9343b756afc5310d9cc5
push id101629
push userdholbert@mozilla.com
push dateMon, 02 Apr 2018 20:39:41 +0000
treeherdermozilla-inbound@7183b8104399 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdholbert
bugs1404222
milestone61.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1404222 Part 8: Fix wpt reftest shape-image-001.html to correct a too-wide container. r=dholbert 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.
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;