Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / Range / create-contextual-fragment-script-unmark-already-started.html
blobe00944c0f897a91721ba1e9bfc8a114ac49a73bf
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <p>Tests createContextualFragment does not mark scripts elements it parsed as already started. You should see PASS below:</p>
5 <div id="test"></div>
6 <script>
7 var range = document.createRange();
8 var node = document.getElementById("test");
9 var count = 0;
10 range.selectNodeContents(node);
11 node.appendChild(range.createContextualFragment("<script> count++; </script" + ">"));
12 node.textContent = count == 1 ? 'PASS' : 'FAIL - expected one execution but executed ' + count + ' times';
14 if (window.testRunner)
15 testRunner.dumpAsText();
17 </script>
18 </body>
19 </html>