| Index: third_party/WebKit/LayoutTests/css3/flexbox/flex-flow-initial.html
|
| diff --git a/third_party/WebKit/LayoutTests/css3/flexbox/flex-flow-initial.html b/third_party/WebKit/LayoutTests/css3/flexbox/flex-flow-initial.html
|
| index 35c5978779f6b9af593bb4dbaef737746a3ca212..87f9b101ba8288a09c69212d51a7538fcb39ef2b 100644
|
| --- a/third_party/WebKit/LayoutTests/css3/flexbox/flex-flow-initial.html
|
| +++ b/third_party/WebKit/LayoutTests/css3/flexbox/flex-flow-initial.html
|
| @@ -13,15 +13,19 @@
|
| flex-direction: initial;
|
| }
|
| </style>
|
| +<p>Tests that 'initial' is handled correctly for the flex-flow shorthand.</p>
|
| +<div id="log"></div>
|
| <span id="test1"></span>
|
| <span id="test2"></span>
|
| -<script src="../../resources/js-test.js"></script>
|
| +<script src="../../resources/testharness.js"></script>
|
| +<script src="../../resources/testharnessreport.js"></script>
|
| <script>
|
| -description("Tests that 'initial' is handled correctly for the flex-flow shorthand.");
|
| value1 = window.getComputedStyle(test1).flexDirection;
|
| value2 = window.getComputedStyle(test2).flexDirection;
|
| -shouldBeEqualToString('window.getComputedStyle(test1).flexDirection', 'row');
|
| -shouldBeEqualToString('window.getComputedStyle(test2).flexDirection', 'row');
|
| +test(function() {
|
| +assert_equals(window.getComputedStyle(test1).flexDirection, "row");
|
| +assert_equals(window.getComputedStyle(test2).flexDirection, "row");
|
| +}, "initial value is correct");
|
| if (window.testRunner)
|
| testRunner.dumpAsText();
|
| </script>
|
|
|