mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-03 15:26:07 +00:00
Backed out changeset 3b3d4ad70da0 (bug 660224) for turning textarea-focus.html permaorange on Windows
This commit is contained in:
parent
e61fc8be4d
commit
c4e9ca8e55
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user