blob: 53ded06d64521998f84f6b4a52eafab3078b2a56 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<style>
:in-range, :out-of-range {
background-color: red;
outline: 2px solid red;
}
</style>
</head>
<body>
<!-- Chris Rebert's test case for https://bugs.webkit.org/show_bug.cgi?id=156558 -->
<p>Verify that neither in-range, no out-of-range match elements without range limitations.</p>
<p>Test passes if there is no red:</p>
<input type="number" value="5"> number
<br><br>
<input type="date" value="2010-10-10" id="date"> date
<br><br>
<input type="time" value="02:00:00" id="time"> time
<br><br>
<input type="week" value="2016-W07" id="week"> week
<br><br>
<input type="month" value="2000-06" id="month"> month
<br><br>
<input type="datetime-local" value="2012-11-28T23:59:59" id="datetime-local"> datetime-local
<br><br>
</body>
</html>