diff options
author | Ms2ger <Ms2ger@gmail.com> | 2016-06-06 10:11:00 +0200 |
---|---|---|
committer | Ms2ger <Ms2ger@gmail.com> | 2016-06-06 15:47:08 +0200 |
commit | 12fa92b4d6371e3fd96a4223142992e02a1d1dbe (patch) | |
tree | 900d578975aeb7869a1e1f670d8b4f0693e7c680 /tests/wpt/css-tests/css-flexbox-1_dev/xhtml1/flexbox_computedstyle_flex-flow-row-wrap-reverse.xht | |
parent | 1bc94c132e6820293c2178bf95991518b1e8a677 (diff) | |
download | servo-12fa92b4d6371e3fd96a4223142992e02a1d1dbe.tar.gz servo-12fa92b4d6371e3fd96a4223142992e02a1d1dbe.zip |
Update CSS tests to revision 611d962e1b6ae62ec89ab994c9f787e84ce11b15
Diffstat (limited to 'tests/wpt/css-tests/css-flexbox-1_dev/xhtml1/flexbox_computedstyle_flex-flow-row-wrap-reverse.xht')
-rw-r--r-- | tests/wpt/css-tests/css-flexbox-1_dev/xhtml1/flexbox_computedstyle_flex-flow-row-wrap-reverse.xht | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/wpt/css-tests/css-flexbox-1_dev/xhtml1/flexbox_computedstyle_flex-flow-row-wrap-reverse.xht b/tests/wpt/css-tests/css-flexbox-1_dev/xhtml1/flexbox_computedstyle_flex-flow-row-wrap-reverse.xht index 4862ffc363c..352f00c368e 100644 --- a/tests/wpt/css-tests/css-flexbox-1_dev/xhtml1/flexbox_computedstyle_flex-flow-row-wrap-reverse.xht +++ b/tests/wpt/css-tests/css-flexbox-1_dev/xhtml1/flexbox_computedstyle_flex-flow-row-wrap-reverse.xht @@ -4,24 +4,24 @@ <link href="http://www.w3.org/TR/css-flexbox-1/#propdef-flex-flow" rel="help" /> <link href="http://www.w3.org/TR/css-flexbox-1/#valdef-flex-direction-row" rel="help" /> <link href="http://www.w3.org/TR/css-flexbox-1/#valdef-flex-wrap-wrap-reverse" rel="help" /> -<link href="reference/ref-pass-body.xht" rel="match" /> +<script src="/resources/testharness.js"></script> +<script src="/resources/testharnessreport.js"></script> <meta content="dom" name="flags" /> <style> body { color: red; flex-flow: row wrap-reverse; } -.PASS {color: black;} </style> -</head><body><h1>FAIL, enable javascript</h1> +</head><body><div id="log"></div> <script> +test(function() { var body = document.body; - var passed = - (getComputedStyle(body).getPropertyValue("flex-direction") == - "row" && - getComputedStyle(body).getPropertyValue("flex-wrap") == - "wrap-reverse"); - body.textContent = body.className = passed ? "PASS" : "FAIL"; + assert_equals(getComputedStyle(body).getPropertyValue("flex-direction"), + "row"); + assert_equals(getComputedStyle(body).getPropertyValue("flex-wrap"), + "wrap-reverse"); +}); </script> </body></html>
\ No newline at end of file |