Bug 1459697 Part 4: Change a WPT reftest to make failures visible in red. draft
authorBrad Werth <bwerth@mozilla.com>
Tue, 08 May 2018 10:41:13 -0700
changeset 793685 133efe7f490b8ee2cfdd35fdfb81e480598677e3
parent 793684 d22f16b0c065e1a139c4ecfe2b02320d30f4c7c1
push id109467
push userbwerth@mozilla.com
push dateThu, 10 May 2018 16:19:57 +0000
bugs1459697
milestone62.0a1
Bug 1459697 Part 4: Change a WPT reftest to make failures visible in red. MozReview-Commit-ID: A4UxNn4Njpi This test applied a green color to the test area, when it should be transparent, to allow the red to show through in case of test failure. Without this change, this test won't catch cases where the float area is too small.
testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-029.html
--- a/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-029.html
+++ b/testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-029.html
@@ -25,17 +25,16 @@
             background-color: red;
             color: green;
             text-align: right;
         }
         #test-shape {
             float: right;
             width: 200px;
             height: 200px;
-            background-color: green;
             shape-margin: 10px;
             shape-outside: inset(60px 10px 60px 110px round 70px 0px 0px 10px / 10px 0px 0px 20px);
         }
         #static-shape {
             position: absolute;
             left: 100px;
             width: 100px;
             height: 100px;