| OLD | NEW |
| (Empty) |
| 1 <!doctype html> | |
| 2 <html> | |
| 3 <!-- | |
| 4 Test for https://bugs.webkit.org/show_bug.cgi?id=66642 ([CSSRegions][CSSOM]
Implement NamedFlow interface). | |
| 5 Test that getting a WebKitNamedFlow for a non-existant flow returns a non-nu
ll object. | |
| 6 On success, you should see a PASS below. | |
| 7 --> | |
| 8 <head> | |
| 9 <script src="../resources/helper.js"></script> | |
| 10 <style> | |
| 11 .pass { | |
| 12 font-weight: bold; | |
| 13 color: green; | |
| 14 } | |
| 15 | |
| 16 .fail { | |
| 17 font-weight: bold; | |
| 18 color: red; | |
| 19 } | |
| 20 </style> | |
| 21 </head> | |
| 22 <body> | |
| 23 <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=66642">6664
2: [CSSRegions]Implement NamedFlow interface</a></p> | |
| 24 <p>Getting a WebKitNamedFlow object for a non-existant flow should retur
n a non-null object.</p> | |
| 25 <p>On success, you should see PASS below.</p> | |
| 26 <div id="article"></div> | |
| 27 <div id="result" class="fail">FAIL</div> | |
| 28 <script> | |
| 29 if (window.testRunner) | |
| 30 testRunner.dumpAsText(); | |
| 31 | |
| 32 var namedFlow = getFlowByName("flow"); | |
| 33 if (!namedFlow) { | |
| 34 document.getElementById("result").innerText = "PASS"; | |
| 35 document.getElementById("result").className = "pass"; | |
| 36 } | |
| 37 document.getElementById("article").style.display = "none"; | |
| 38 </script> | |
| 39 </body> | |
| 40 </html> | |
| OLD | NEW |