diff options
Diffstat (limited to 'layout/base/tests/scroll_into_view_in_child.html')
-rw-r--r-- | layout/base/tests/scroll_into_view_in_child.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/layout/base/tests/scroll_into_view_in_child.html b/layout/base/tests/scroll_into_view_in_child.html new file mode 100644 index 0000000000..0e8dd13dda --- /dev/null +++ b/layout/base/tests/scroll_into_view_in_child.html @@ -0,0 +1,8 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<div id="target">can you see me?</div> +<script> +window.onload = () => { + target.scrollIntoView(); +}; +</script> |