Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / inner-text-with-no-renderer.html
blobf61ba21a79df8938f3c6c4af0c836d9ccb53e93f
1 <html>
2 <head>
3 <script>
4 function debug(str) {
5 pre = document.getElementById('console');
6 txt = document.createTextNode(str + '\n')
7 pre.appendChild(txt)
9 function runTests() {
10 if (window.testRunner)
11 testRunner.dumpAsText()
13 var div = document.createElement("div")
14 div.innerHTML = "&quot;Text&quot;<br>new line"
16 if (div.innerText != '"Text"\nnew line')
17 debug("FAILURE: innerText was \"" + div.innerText + "\"")
18 else
19 debug("SUCCESS")
21 </script>
22 </head>
23 <body onload="runTests()">
24 This tests that innerText works on an element that has no renderer associated. If the test is successful the text "SUCCESS" should be shown below.
25 <pre id="console">
26 </body>
27 </html>