2 <script src=
"../../resources/js-test.js"></script>
5 text-transform: uppercase;
15 <span id=
"tab"><a id='a'
>H
</a></span>
19 if (window
.eventSender
) {
20 document
.body
.offsetTop
; // Force layout. The mouse is not tracked before first layout.
22 offset
= document
.getElementById('tab').getBoundingClientRect();
23 eventSender
.mouseMoveTo(offset
.left
+ 5, offset
.top
+ 5);
25 document
.body
.offsetTop
; // Update layout for hovered state.
27 style
= window
.getComputedStyle(document
.getElementById('a'));
28 shouldBe('style.color', "'rgb(255, 165, 0)'");
30 debug("This test requires DRT.");