Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / execCommand / format-block-removes-destination-crash.html
blob1cdfb0f444004fce8960be1f0e0a0e4cac4d0546
1 <!DOCTYPE html>
2 <body onload="crash();" contenteditable>
3 <strike style='display: flex;'>foo<select id="target">bar
4 <script>
5 function crash() {
6 if (window.testRunner)
7 testRunner.dumpAsText();
8 document.designMode = "on";
9 r = document.createRange();
10 r.selectNode(target);
11 window.getSelection().addRange(r);
12 document.execCommand("FormatBlock", false, "address")
13 document.write("Test passes if no crash.")
15 </script>