Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / selection / 14971.html
blob0cdd62dc1705044e13a09241db70146b1570ea7b
1 <p>This tests to make sure that a drag-selecting through a -webkit-user-select:ignore region works. The selection should end somewhere inside the word 'World' below.</p>
2 <div><span id="start">Hello</span> <span id="end" style="-webkit-user-select:ignore;">World</span></div>
4 <script>
5 if (window.testRunner) {
6 start = document.getElementById("start");
7 end = document.getElementById("end");
9 x = start.offsetParent.offsetLeft + start.offsetLeft - 5;
10 y = start.offsetParent.offsetTop + start.offsetTop + start.offsetHeight / 2;
12 eventSender.mouseMoveTo(x, y);
13 eventSender.mouseDown();
15 eventSender.mouseMoveTo(x + 10, y);
16 eventSender.mouseMoveTo(x + 20, y);
17 eventSender.mouseMoveTo(x + 30, y);
19 x = end.offsetParent.offsetLeft + end.offsetLeft + end.offsetWidth / 2;
20 y = end.offsetParent.offsetTop + end.offsetTop + end.offsetHeight / 2;
22 eventSender.mouseMoveTo(x, y);
23 eventSender.mouseUp();
25 </script>