gecko/layout/reftests/css-valid/input/input-customerror.html

10 lines
378 B
HTML

<!DOCTYPE html>
<html class="reftest-wait">
<!-- Test: if input has a custom error, it should not be affected by :valid
pseudo-class. -->
<link rel='stylesheet' type='text/css' href='style.css'>
<body onload="document.getElementById('t').setCustomValidity('foo'); document.documentElement.className='';">
<input class='notvalid' id='t'>
</body>
</html>