4 <script src=
"../resources/common.js"></script>
7 var label
= document
.getElementById("label");
8 var checkbox
= document
.getElementById("checkbox");
9 // Move mouse to checkbox.
10 hoverOverElement(checkbox
);
11 // Move mouse to text after checkbox.
12 hoverOverElement(label
);
16 input[type=checkbox]:hover {
17 box-shadow: inset
5px
5px
5px rgba(
0,
255,
0,
1.0);
21 <body onload=
"startTest()">
22 <label id=
"label"><input id=
"checkbox" type=
"checkbox" /> Test
</label>