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

10 lines
395 B
HTML

<!DOCTYPE html>
<html class="reftest-wait">
<!-- Test: if textarea 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='';">
<textarea class='notvalid' id='t'></textarea>
</body>
</html>