| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <style> | 2 <style> |
| 3 #test1 { | 3 #test1 { |
| 4 -webkit-flex-flow: column; | 4 -webkit-flex-flow: column; |
| 5 } | 5 } |
| 6 #test1 { | 6 #test1 { |
| 7 -webkit-flex-flow: initial; | 7 -webkit-flex-flow: initial; |
| 8 } | 8 } |
| 9 #test2 { | 9 #test2 { |
| 10 -webkit-flex-direction: column; | 10 -webkit-flex-direction: column; |
| 11 } | 11 } |
| 12 #test2 { | 12 #test2 { |
| 13 -webkit-flex-direction: initial; | 13 -webkit-flex-direction: initial; |
| 14 } | 14 } |
| 15 </style> | 15 </style> |
| 16 <span id="test1"></span> | 16 <span id="test1"></span> |
| 17 <span id="test2"></span> | 17 <span id="test2"></span> |
| 18 <script src="../../fast/js/resources/js-test-pre.js"></script> | 18 <script src="../../fast/js/resources/js-test-pre.js"></script> |
| 19 <script> | 19 <script> |
| 20 description("Tests that 'initial' is handled correctly for the -webkit-flex-flow
shorthand."); | 20 description("Tests that 'initial' is handled correctly for the -webkit-flex-flow
shorthand."); |
| 21 value1 = window.getComputedStyle(test1).webkitFlexDirection; | 21 value1 = window.getComputedStyle(test1).webkitFlexDirection; |
| 22 value2 = window.getComputedStyle(test2).webkitFlexDirection; | 22 value2 = window.getComputedStyle(test2).webkitFlexDirection; |
| 23 shouldBeEqualToString('window.getComputedStyle(test1).webkitFlexDirection', 'row
'); | 23 shouldBeEqualToString('window.getComputedStyle(test1).webkitFlexDirection', 'row
'); |
| 24 shouldBeEqualToString('window.getComputedStyle(test2).webkitFlexDirection', 'row
'); | 24 shouldBeEqualToString('window.getComputedStyle(test2).webkitFlexDirection', 'row
'); |
| 25 if (window.testRunner) | 25 if (window.testRunner) |
| 26 testRunner.dumpAsText(); | 26 testRunner.dumpAsText(); |
| 27 </script> | 27 </script> |
| 28 <script src="../../fast/js/resources/js-test-post.js"></script> | |
| OLD | NEW |