Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / forms / textarea-and-mutation-events-appending-text.html
blob3c89bfaeabe1ad764f497217549dc8ebfeef9a14
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../../resources/js-test.js"></script>
5 </head>
6 <body>
7 <script>
8 description("Ensuring that mutation event with text modification on a textarea doesn't crash");
10 span = document.createElementNS("http://www.w3.org/1999/xhtml", "span");
11 document.implementation.createDocument("", "", null).adoptNode(span);
13 textarea = document.createElementNS("http://www.w3.org/1999/xhtml", "textarea");
14 textarea.textContent = "Value";
15 textarea.addEventListener("DOMCharacterDataModified", function (evt) { console.log(evt.target); textarea.textContent = ""; }, false);
16 document.body.appendChild(textarea);
18 text = document.createTextNode("Hello?");
19 textarea.appendChild(text);
20 span.appendChild(text);
22 testPassed("unless crash.")
23 </script>
24 </body>