gecko/layout/reftests/css-ui-invalid/textarea/textarea-required-invalid-changed.html

12 lines
437 B
HTML

<!DOCTYPE html>
<html class="reftest-wait">
<!-- Test: if textarea isn't valid and it's value has been changed,
it should be affected by :-moz-ui-invalid pseudo-class. -->
<link rel='stylesheet' type='text/css' href='style.css'>
<body onload="document.getElementById('t').value = '';
document.documentElement.className='';">
<textarea id='t' class='invalid' required></textarea>
</body>
</html>