Backed out changeset 3b3d4ad70da0 (bug 660224) for turning textarea-focus.html permaorange on Windows

This commit is contained in:
Wes Kocher 2014-03-05 18:01:32 -08:00
parent e61fc8be4d
commit c4e9ca8e55

View File

@ -1,24 +1,13 @@
<!DOCTYPE>
<html class="reftest-wait">
<script>
function startTest()
{
window.addEventListener('MozAfterPaint', finishTest, false);
var e = document.getElementById('e');
e.setCustomValidity('foo');
e.focus();
}
function finishTest()
{
document.documentElement.className='';
}
window.addEventListener("MozReftestInvalidate", startTest, false);
function onloadHandler()
{
document.getElementById('e').setCustomValidity('foo');
document.getElementById('e').focus();
}
</script>
<body>
<textarea id='e'></textarea>
<body onload="onloadHandler();">
<textarea id='e' onfocus="document.documentElement.className='';"></textarea>
</body>
</html>