3 <script src=
"../../../resources/js-test.js"></script>
7 <option value=
"1">one
</select>
8 <option value=
"2">two
</select>
9 <option value=
"3">three
</select>
12 <div id=
"console"></div>
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
= '';