Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / selection / 5714333.html
blob8f24f909694c0d6f4c7bd67660cb714f4a336219
1 <body>
2 <div>This tests to make sure that document.getSelection() is supported and returns a Selection object for the document.</div>
3 <div id="div">xxx</div>
4 <div id="console"></div>
5 <script>
6 if (window.testRunner)
7 window.testRunner.dumpAsText();
8 div = document.getElementById("div");
9 text = div.firstChild;
10 s = document.getSelection();
11 s.setBaseAndExtent(text, 1, text, 2);
12 document.getElementById("console").innerText = "Selection: (" + s.baseNode + ", " + s.baseOffset + ") to (" + s.extentNode + ", " + s.extentOffset + ")";
13 </script>
14 </body>