OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../../js/resources/js-test-pre.js"></script> | 4 <script src="../../js/resources/js-test-pre.js"></script> |
5 <style> | 5 <style> |
6 #article { -webkit-flow-into: flow; } | 6 #article { -webkit-flow-into: flow; } |
7 #region { -webkit-flow-from: flow; } | 7 #region { -webkit-flow-from: flow; } |
8 </style> | 8 </style> |
9 </head> | 9 </head> |
10 <body> | 10 <body> |
11 <p>Test region's computed values for z-index.</p> | 11 <p>Test region's computed values for z-index.</p> |
12 <p>A region establishes a stacking context.</p> | 12 <p>A region establishes a stacking context.</p> |
13 <p>On success you should see PASS below</p> | 13 <p>On success you should see PASS below</p> |
14 <p id="console"></p> | 14 <p id="console"></p> |
15 <div id="article"></div> | 15 <div id="article"></div> |
16 <div id="region"></div> | 16 <div id="region"></div> |
17 </body> | 17 </body> |
18 <script> | 18 <script> |
19 if (window.testRunner) | 19 if (window.testRunner) |
20 window.testRunner.dumpAsText(); | 20 window.testRunner.dumpAsText(); |
21 shouldBeEqualToString('window.getComputedStyle(document.getElementById("
region")).zIndex', "0"); | 21 shouldBeEqualToString('window.getComputedStyle(document.getElementById("
region")).zIndex', "0"); |
22 </script> | 22 </script> |
23 <script src="../../js/resources/js-test-post.js"></script> | |
24 </html> | 23 </html> |
OLD | NEW |