| Index: third_party/WebKit/LayoutTests/imported/csswg-test/css-flexbox-1/getcomputedstyle/flexbox_computedstyle_order-invalid.html
|
| diff --git a/third_party/WebKit/LayoutTests/imported/csswg-test/css-flexbox-1/getcomputedstyle/flexbox_computedstyle_order-invalid.html b/third_party/WebKit/LayoutTests/imported/csswg-test/css-flexbox-1/getcomputedstyle/flexbox_computedstyle_order-invalid.html
|
| index 0efcd8e0f3c32dc636a3456412c036ecc1fc28d0..5690b48bbfc87bfcd493219ebdd0d4a8e78cc0b5 100644
|
| --- a/third_party/WebKit/LayoutTests/imported/csswg-test/css-flexbox-1/getcomputedstyle/flexbox_computedstyle_order-invalid.html
|
| +++ b/third_party/WebKit/LayoutTests/imported/csswg-test/css-flexbox-1/getcomputedstyle/flexbox_computedstyle_order-invalid.html
|
| @@ -2,21 +2,21 @@
|
| <title>flexbox | computed style | order: noninteger</title>
|
| <link rel="author" href="http://opera.com" title="Opera Software">
|
| <link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#propdef-order">
|
| -<link rel="match" href="ref-pass-body.html">
|
| +<script src="../../../../resources/testharness.js"></script>
|
| +<script src="../../../../resources/testharnessreport.js"></script>
|
| <meta name="flags" content="dom">
|
| <style>
|
| body {
|
| color: red;
|
| order: 1.5;
|
| }
|
| -.PASS {color: black;}
|
| </style>
|
| -<h1>FAIL, enable javascript</h1>
|
| +<div id="log"></div>
|
| <script>
|
| +test(function() {
|
| var body = document.body;
|
|
|
| - var passed =
|
| - getComputedStyle(body).getPropertyValue("order") ==
|
| - "0";
|
| - body.textContent = body.className = passed ? "PASS" : "FAIL";
|
| + assert_equals(getComputedStyle(body).getPropertyValue("order"),
|
| + "0");
|
| +});
|
| </script>
|
|
|