Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / deleting / smart-delete-across-editable-boundaries.html
blob949418a3f10b42e13dc99cdfdcc9c26af17fddef
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <script src="../../resources/dump-as-markup.js"></script>
5 <div contenteditable="true" id="div">foo<span contenteditable="false"> bar</span></div>
6 <script>
7 if (window.internals)
8 internals.settings.setEditingBehavior('mac');
9 var div = document.getElementById("div");
10 var sel = window.getSelection();
11 sel.collapse(div, 0);
12 sel.modify("extend", "forward", "word");
13 document.execCommand("Delete");
14 Markup.description("This tests for a bug where expansion for smart delete would not consider editable boundaries. Only 'foo' should be deleted. You should see ' bar'. <radr://problem/5390681>");
15 Markup.dump(div);
16 </script>
17 </body>
18 </html>