Sign in
webkit
/
WebKit
/
ed2f911158342d574839e821f89b5479112fb659
/
.
/
LayoutTests
/
imported
/
w3c
/
web-platform-tests
/
html
/
interaction
/
focus
/
the-autofocus-attribute
/
resources
/
moving-autofocus-to-parent.html
blob: fc6c298a46e376cf45089f168cf841cab59ffd5c [
file
] [
log
] [
blame
]
<!DOCTYPE html>
<body>
<script>
const
input
=
document
.
createElement
(
'input'
);
input
.
autofocus
=
true
;
document
.
body
.
appendChild
(
input
);
input
.
autofocus
=
false
;
window
.
opener
.
document
.
body
.
appendChild
(
input
);
</script>
</body>