diff options
Diffstat (limited to 'testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/resources/moving-autofocus-to-parent.html')
-rw-r--r-- | testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/resources/moving-autofocus-to-parent.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/resources/moving-autofocus-to-parent.html b/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/resources/moving-autofocus-to-parent.html new file mode 100644 index 0000000000..fc6c298a46 --- /dev/null +++ b/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/resources/moving-autofocus-to-parent.html @@ -0,0 +1,10 @@ +<!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> |