7 -webkit-appearance: none;
13 input::-webkit-slider-thumb {
14 -webkit-appearance: none;
15 background-color: Green;
23 // Tests that the slider thumb is repainted correctly when the input element
26 function clickAndDrag(element
)
28 if (!window
.eventSender
)
31 var maxX
= element
.offsetLeft
+ element
.offsetWidth
;
33 var y
= element
.offsetTop
+ element
.offsetHeight
/ 2;
34 eventSender
.mouseMoveTo(x
, y
);
35 eventSender
.mouseDown();
36 eventSender
.mouseMoveTo(maxX
, y
);
37 eventSender
.mouseUp();
42 clickAndDrag(document
.getElementById('slider'));
47 <body onload=
"runTest()">
48 <input id=
"slider" type=
"range" value=
"0">