Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / selection / unrendered-005.html
blob13ca7ec5455f7bc087eb9fd2cb2a2305e2ca9ca4
1 <html>
2 <head>
4 <style>
5 body { overflow:hidden; }
6 .editing {
7 border: solid red 50px;
8 font-size: 24px;
9 line-height: 48px;
10 padding: 24px;
11 margin: 64px;
12 width: 600px;
14 </style>
15 <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
17 <script>
19 function editingTest() {
20 var elem = document.getElementById("test-2");
21 var selection = window.getSelection();
22 selection.collapse(elem.firstChild, 2);
23 extendSelectionBackwardByCharacterCommand();
24 moveSelectionForwardByCharacterCommand();
27 </script>
29 <title>Editing Test</title>
30 </head>
31 <body>
32 <div contenteditable id="root" class="editing">
33 <span id="test-1">foo</span><span id="test-2" style='display: none;'>bar</span> baz
34 </div>
36 <script>
37 runEditingTest();
38 </script>
40 </body>
41 </html>