2010-11-23 15:55:22 -08:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html class="reftest-wait">
|
2012-08-28 22:48:44 -07:00
|
|
|
<head>
|
|
|
|
<script>
|
|
|
|
function doTest() {
|
|
|
|
document.getElementById('t').removeAttribute('disabled');
|
|
|
|
document.getElementById('t').value = '';
|
|
|
|
document.documentElement.className='';
|
|
|
|
}
|
|
|
|
document.addEventListener("MozReftestInvalidate", doTest, false);
|
|
|
|
</script>
|
|
|
|
</head>
|
2010-11-23 15:55:22 -08:00
|
|
|
<!-- Test: if textarea is not disabled and its value has been modifie,
|
|
|
|
it should be affected by :-moz-ui-valid pseudo-class. -->
|
|
|
|
<link rel='stylesheet' type='text/css' href='style.css'>
|
2012-08-28 22:48:44 -07:00
|
|
|
<body>
|
2010-11-23 15:55:22 -08:00
|
|
|
<textarea class='valid' id='t' disabled></textarea>
|
|
|
|
</body>
|
|
|
|
</html>
|