| Index: third_party/WebKit/LayoutTests/imported/csswg-test/css-flexbox-1/getcomputedstyle/flexbox_computedstyle_order-integer.html
|
| diff --git a/third_party/WebKit/LayoutTests/imported/csswg-test/css-flexbox-1/getcomputedstyle/flexbox_computedstyle_order-integer.html b/third_party/WebKit/LayoutTests/imported/csswg-test/css-flexbox-1/getcomputedstyle/flexbox_computedstyle_order-integer.html
|
| index 36a40a0fb28d6456284c07a65ed0d48e0a4ba4e2..09875c9e64c6e9004ce62a9c7e6de314d3f6f58e 100644
|
| --- a/third_party/WebKit/LayoutTests/imported/csswg-test/css-flexbox-1/getcomputedstyle/flexbox_computedstyle_order-integer.html
|
| +++ b/third_party/WebKit/LayoutTests/imported/csswg-test/css-flexbox-1/getcomputedstyle/flexbox_computedstyle_order-integer.html
|
| @@ -2,21 +2,21 @@
|
| <title>flexbox | computed style | order: integer</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: 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") ==
|
| - "5";
|
| - body.textContent = body.className = passed ? "PASS" : "FAIL";
|
| + assert_equals(getComputedStyle(body).getPropertyValue("order"),
|
| + "5");
|
| +});
|
| </script>
|
|
|