Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / parser / script-already-started-flag-in-fragment-parsing-mode.html
blob0d9c0946921b0eea35a807e43eca8be934facb7a
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <p>
5 Test that scripts inserted while parsing an html fragment have the "already started" flag set,
6 and that it's copied over if the node is cloned.
7 </p>
9 <p id=result>
10 PASS
11 <p>
12 <div></div>
13 <script>
14 if (window.testRunner)
15 testRunner.dumpAsText();
16 var d = document.querySelector("div")
17 d.innerHTML = "<script>document.querySelector('#result').textContent = 'FAIL'</" + "script>";
18 document.body.appendChild(d.querySelector("script").cloneNode(true));
19 </script>
20 </body>