Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / space-to-text.html
blobde266e18bafeeb11c160473a5434d5f87fd4f369
1 <html>
2 <head>
3 <script type="text/javascript">
4 function test() {
5 if (window.testRunner)
6 testRunner.dumpAsText();
8 document.getElementById("s1").firstChild.nodeValue="SU";
9 document.getElementById("s2").firstChild.insertData(0, "CC");
10 document.getElementById("s3").firstChild.appendData("ES");
11 document.getElementById("s4").firstChild.replaceData(0, 1, "S");
13 </script>
14 <body onLoad="test()">
15 <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=4616">bug 4616</a>:
16 Setting textNode.nodeValue does not work when nodeValue is whitespace only.</p>
17 <p>Should say "SUCCESS":</p>
18 <div id="s1"> </div><div id="s2"> </div><div id="s3"> </div><div id="s4"> </div>
19 </body>
20 </html>