layout/reftests/css-ui-valid/textarea/textarea-dyn-not-readonly-changed.html
author Ed Morley <emorley@mozilla.com>
Thu, 27 Sep 2012 16:34:46 +0100
changeset 111898 d3f86e3a324043af516650186f801c7117fd12bb
parent 111874 39e70f91d826c8599de710a37049051d756c2946
child 112046 a736bb8d45aa49ed340138e057be4d3f99106a29
permissions -rw-r--r--
Revert mozilla-inbound to e4dd1fa6d222 for crashes and test failures on a CLOSED TREE

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