This is a follow-up question to Ticks for type=“range” HTML input. At CSS-Tricks, they described a way to cross-browser style a type=range
input, Styling Cross-Browser Compatible Range Inputs with CSS, which works very well ... except that the CSS,
input[type=range] {
appearance: none;/*does not validate*/
-o-appearance: none;
-moz-appearance: none;
-webkit-appearance: none;/*kills tick marks*/
}
<div>
<input type="range" list="Z">
<datalist id="Z">
<option>10</option>
<option>20</option>
<option>30</option>
<option>40</option>
<option>50</option>
<option>60</option>
<option>70</option>
<option>80</option>
<option>90</option>
<option>100</option>
<option>110</option>
</datalist>
</div>
will kill any ticks defined by the markup.
<div>
<input type="range" list="Z">
<datalist id="Z">
<option>10</option>
<option>20</option>
<option>30</option>
<option>40</option>
<option>50</option>
<option>60</option>
<option>70</option>
<option>80</option>
<option>90</option>
<option>100</option>
<option>110</option>
</datalist>
</div>
Does the standard allow range styling with tick marks? Or should I just shoehorn an image in there and call it done?