Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / Document / document-elementFromPoint-on-option-element.html
blobf04ce686bd59b18ea4b42e2859844cbe5026f5b7
1 <!DOCTYPE html>
2 <html>
3 <script src="../../../resources/js-test.js"></script>
4 <body>
5 <div id="container">
6 <select size="2">
7 <option value="1">one</select>
8 <option value="2">two</select>
9 <option value="3">three</select>
10 </select>
11 </div>
12 <div id="console"></div>
13 </body>
14 </html>
15 <script>
16 description('Document.elementPoint() on option element');
17 var select = document.querySelector('select');
18 var result = document.elementFromPoint(select.offsetLeft + 5, select.offsetTop + 5);
19 shouldBeEqualToString('result.tagName', 'OPTION');
20 if (window.testRunner)
21 document.getElementById('container').outerHTML = '';
22 </script>