Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / forms / range / range-default-value.html
blob3aac430be18ea7ac0928e546c77957320184d2bf
1 <html
2 <head>
3 <script src="../../../resources/js-test.js"></script>
4 <body>
5 <p id="description"></p>
6 <form>
7 <input id="slider" type="range" min="1" max="101">
8 </form>
9 <div id="console"></div>
10 <script>
11 description("<a href='http://bugs.webkit.org/show_bug.cgi?id=20134'>Bug 20134: REGRESSION: (2.0.4-3.0.4): No default value set for &lt;input type=range&gt; with an even difference of (max - min)</a>");
13 function quoteNumber(n)
15 return "\"" + n + "\"";
18 var slider = document.getElementById("slider");
19 shouldBe("slider.value", quoteNumber(51));
20 </script>
21 </body>
22 </html>