2010-08-21 21:52:57 +04:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html class="reftest-wait">
|
2012-08-29 09:48:44 +04:00
|
|
|
<head>
|
|
|
|
<script>
|
|
|
|
function doTest() {
|
|
|
|
document.getElementById('t').readOnly='ro';
|
|
|
|
document.documentElement.className='';
|
|
|
|
}
|
|
|
|
document.addEventListener("MozReftestInvalidate", doTest, false);
|
|
|
|
</script>
|
|
|
|
</head>
|
2010-08-21 21:52:57 +04:00
|
|
|
<!-- Test: if textarea is readonly, it is barred from constraint validation
|
|
|
|
and should not be affected by :valid pseudo-class. -->
|
2010-08-25 08:40:31 +04:00
|
|
|
<link rel='stylesheet' type='text/css' href='style.css'>
|
2012-08-29 09:48:44 +04:00
|
|
|
<body>
|
2010-08-25 08:40:31 +04:00
|
|
|
<textarea class='notvalid' id='t'></textarea>
|
2010-08-21 21:52:57 +04:00
|
|
|
</body>
|
|
|
|
</html>
|