Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / forms / 8250.html
blob08d0cee298beb72f60ae503ceeae584bebcef2be
1 <p>This is a test for <a href="https://bugs.webkit.org/show_bug.cgi?id=8250">bug 8250</a>.
2 The 'before text inserted' event handler wasn't being told about 'interchange newlines'.
3 The text field should have a space in it, followed by the word 'foo'.</p>
5 <p id="test result">TEST DID NOT RUN</p>
7 <input id="test" type="text">
9 <script>
11 if (window.testRunner)
12 testRunner.dumpAsText();
14 var e = document.getElementById("test");
15 e.focus();
16 e.setSelectionRange(0, 0);
18 document.execCommand("InsertHTML", false, "<br class='Apple-interchange-newline'>foo");
20 if (e.value === " foo")
21 document.getElementById("test result").innerText = "TEST PASSED";
22 else
23 document.getElementById("test result").innerText = "TEST FAILED";
25 </script>