| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <title>CSS Flexible Box Test: display_inline-flex</title> | 4 <title>CSS Flexible Box Test: display_inline-flex</title> |
| 5 <link rel="author" title="Intel" href="http://www.intel.com" /> | 5 <link rel="author" title="Intel" href="http://www.intel.com" /> |
| 6 <link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#flex-containers"
/> | 6 <link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#flex-containers"
/> |
| 7 <meta name="flags" content="dom" /> | 7 <meta name="flags" content="dom" /> |
| 8 <meta name="assert" content="Check if the web engine can identify the displa
y value inline-flex." /> | 8 <meta name="assert" content="Check if the web engine can identify the displa
y value inline-flex." /> |
| 9 <style> | 9 <style> |
| 10 div#test{ | 10 div#test{ |
| 11 display: inline-flex; | 11 display: inline-flex; |
| 12 } | 12 } |
| 13 </style> | 13 </style> |
| 14 <script src="../../../resources/testharness.js"></script> | 14 <script src="/resources/testharness.js"></script> |
| 15 <script src="../../../resources/testharnessreport.js"></script> | 15 <script src="/resources/testharnessreport.js"></script> |
| 16 </head> | 16 </head> |
| 17 <body> | 17 <body> |
| 18 <div id=log></div> | 18 <div id=log></div> |
| 19 <div id=test></div> | 19 <div id=test></div> |
| 20 <script type="text/javascript"> | 20 <script type="text/javascript"> |
| 21 var t = async_test(document.title, {timeout:500}); | 21 var t = async_test(document.title, {timeout:500}); |
| 22 t.step(function () { | 22 t.step(function () { |
| 23 assert_equals(window.getComputedStyle(document.querySelector('div#te
st')).display, "inline-flex", "Display value is"); | 23 assert_equals(window.getComputedStyle(document.querySelector('div#te
st')).display, "inline-flex", "Display value is"); |
| 24 }); | 24 }); |
| 25 t.done(); | 25 t.done(); |
| 26 </script> | 26 </script> |
| 27 </body> | 27 </body> |
| 28 </html> | 28 </html> |
| OLD | NEW |