mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-09 17:31:47 +09:00
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
This commit is contained in:
commit
dcd9973243
150858 changed files with 23884658 additions and 0 deletions
23
dom/html/reftests/autofocus/input-create.html
Normal file
23
dom/html/reftests/autofocus/input-create.html
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="reftest-wait">
|
||||
<link rel='stylesheet' type='text/css' href='style.css'>
|
||||
<body>
|
||||
<script>
|
||||
var body = document.body;
|
||||
|
||||
var i = document.createElement('input');
|
||||
i.autofocus = false;
|
||||
body.appendChild(i);
|
||||
|
||||
i = document.createElement('input');
|
||||
i.autofocus = true;
|
||||
i.onfocus = function() { setTimeout(document.documentElement.removeAttribute('class'), 0); };
|
||||
body.appendChild(i);
|
||||
|
||||
i = document.createElement('input');
|
||||
i.autofocus = true;
|
||||
i.onfocus = function() { setTimeout(document.documentElement.removeAttribute('class'), 0); };
|
||||
body.appendChild(i);
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue