Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / outerText-no-element.html
blob963a9e5e05455ebef29b944fe02177037b162625
1 Expected behavior:
2 <p>This page will try to set the outerText on an element that is no longer in the DOM tree.
3 You should see a description of an expected error.
4 </p>
5 <div id="div">this is a <i id="test">test</i> or something</div>
7 <script>
8 if (window.testRunner)
9 testRunner.dumpAsText();
10 var test = document.getElementById("test");
11 test.outerText = "big test";
12 try {
13 test.outerText = "mistake";
14 }catch (e)
16 document.write("<div> Expected error - " + e + "</div>");
18 </script>