Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / deleting / delete-uneditable-style.html
blob5d284ae7e3274a47785f856552600db80d26db40
1 <script src="../../resources/dump-as-markup.js"></script>
2 <div contentEditable id="test">
3 <span id="start">start</span>
4 editable-1
5 <div contentEditable="false">
6 <style>#end { color: red; }</style>
7 <link type="foo" href="bar">
8 uneditable
9 </div>
10 editable-2
11 <span id="end">end</span>
12 </div>
13 <script>
14 Markup.description('Test case for crash bug http://crbug.com/177470');
15 function $(id) { return document.getElementById(id); }
16 var range = document.createRange();
17 range.setStart($('start'), 0);
18 range.setEnd($('end'), NaN);
19 getSelection().addRange(range);
20 document.execCommand('delete', null, '');
21 Markup.dump($('test'));
22 </script>