blob: ae4efcd6428dd3350888773bc0d244aead179449 [file] [log] [blame]
<html>
<body>
<script>
if (window.testRunner)
testRunner.dumpAsText(true);
</script>
<ul>
<li>step=none <input autofocus type="time"> <input type="time" value="12:34"></li>
<li>step=1 <input type="time" step="1"> <input step="1" type="time" value="12:34:56"></li>
<li>step=0.0001 <input type="time" step="0.001"> <input step="0.001" type="time" value="12:34:56.789"></li>
<li>step=60 <input type="time" step="60"> <input step="60" type="time" value="12:34"></li>
<li>step=3600 <input type="time" step="3600"> <input step="3600" type="time" value="12:00"></li>
<li>step=86400 <input type="time" step="86400"> <input step="86400" type="time" min="12:34:56.789"></li>
<li>step mismatched <input type="time" step="60" value="12:34:56"></li>
<li>RTL <input type="time" step="1" value="12:34:56" dir="rtl"></li>
<li>Disabled, step=3600 <input disabled type="time" step="3600"> <input disabled step="3600" type="time" value="12:34"></li>
<li>Readonly, step=3600 <input readonly type="time" step="3600"> <input readonly step="3600" type="time" value="12:34"></li>
</ul>
<ul>
<li>text-align: <input type="time" value="12:34" style="text-align: left;"></li>
<li>text-transform: <input type="time" value="12:34" style="text-transform: lowercase;"></li>
<li>background, color: <input type="time" value="12:34" style="border: 0px; background: green; color: yellow;"></li>
<li>font-size, font-weight: <input type="time" value="12:34" style="font-size: 20pt; font-weight: bold;"></li>
<li>font-size with fixed input width: <input type="time" value="12:34" style="font-size: 20pt; width: 10em;"></li>
<li>Fixed input height: <input type="time" value="12:34" style="height: 4em;"></li>
<li>-webkit-appearance:none: <input type="time" value="13:56" style="-webkit-appearance: none;"></li>
</ul>
</body>
</html>