| Index: LayoutTests/fast/forms/label/hover-on-moving-mouse-checkbox-to-parent-label.html
|
| diff --git a/LayoutTests/fast/forms/label/hover-on-moving-mouse-checkbox-to-parent-label.html b/LayoutTests/fast/forms/label/hover-on-moving-mouse-checkbox-to-parent-label.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..78b0f0dce7c500675503c51313cf35d61682baca
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/forms/label/hover-on-moving-mouse-checkbox-to-parent-label.html
|
| @@ -0,0 +1,24 @@
|
| +<!DOCTYPE html>
|
| +<html>
|
| +<head>
|
| +<script src="../resources/common.js"></script>
|
| +<script>
|
| +function startTest() {
|
| + var label = document.getElementById("label");
|
| + var checkbox = document.getElementById("checkbox");
|
| + // Move mouse to checkbox.
|
| + hoverOverElement(checkbox);
|
| + // Move mouse to text after checkbox.
|
| + hoverOverElement(label);
|
| +}
|
| +</script>
|
| +<style>
|
| +input[type=checkbox]:hover {
|
| + box-shadow: inset 5px 5px 5px rgba(0,255,0,1.0);
|
| +}
|
| +</style>
|
| +</head>
|
| +<body onload="startTest()">
|
| +<label id="label"><input id="checkbox" type="checkbox" /> Test</label>
|
| +</body>
|
| +</html>
|
|
|