Changeset 126252 in webkit
- Timestamp:
- Aug 21, 2012 7:17:33 PM (12 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r126251 r126252 1 2012-08-21 Keishi Hattori <keishi@webkit.org> 2 3 range-hit-test-with-padding.html fails unless subpixel layout is on 4 https://bugs.webkit.org/show_bug.cgi?id=94585 5 6 Reviewed by Kent Tamura. 7 8 Ports without subpixel layout didn't exactly match the result, because slider thumb width is an odd number and we are dividing it by two. 9 10 * fast/forms/range/range-hit-test-with-padding-expected.txt: 11 * fast/forms/range/range-hit-test-with-padding.html: Adjust the max so it snaps to the step in the middle. 12 1 13 2012-08-21 Julien Chaffraix <jchaffraix@webkit.org> 2 14 -
trunk/LayoutTests/fast/forms/range/range-hit-test-with-padding-expected.txt
r126132 r126252 1 1 Clicking middle of input type=range with padding should set the value to middle. 2 2 3 PASS input.value is " 500"3 PASS input.value is "25" 4 4 PASS successfullyParsed is true 5 5 -
trunk/LayoutTests/fast/forms/range/range-hit-test-with-padding.html
r126151 r126252 7 7 <p id="description">Clicking middle of input type=range with padding should set the value to middle.</p> 8 8 <div id="console"></div> 9 <input id="input" type=range min=0 max= 1000 step=1 value="0" style="width: 100px; padding: 0 20px;">9 <input id="input" type=range min=0 max=50 step=1 value="0" style="width: 100px; padding: 0 40px;"> 10 10 <script> 11 11 var input = document.getElementById("input"); … … 17 17 } 18 18 19 clickSlider( 70); // left padding (20px) + middle (50px)20 shouldBe('input.value', '" 500"');19 clickSlider(90); // left padding (40px) + middle (50px) 20 shouldBe('input.value', '"25"'); 21 21 22 22 </script>
Note: See TracChangeset
for help on using the changeset viewer.