diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
commit | 6bf0a5cb5034a7e684dcc3500e841785237ce2dd (patch) | |
tree | a68f146d7fa01f0134297619fbe7e33db084e0aa /layout/base/tests/scroll_selection_into_view_window.html | |
parent | Initial commit. (diff) | |
download | thunderbird-upstream.tar.xz thunderbird-upstream.zip |
Adding upstream version 1:115.7.0.upstream/1%115.7.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'layout/base/tests/scroll_selection_into_view_window.html')
-rw-r--r-- | layout/base/tests/scroll_selection_into_view_window.html | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/layout/base/tests/scroll_selection_into_view_window.html b/layout/base/tests/scroll_selection_into_view_window.html new file mode 100644 index 0000000000..e92dfeabe9 --- /dev/null +++ b/layout/base/tests/scroll_selection_into_view_window.html @@ -0,0 +1,59 @@ +<!DOCTYPE HTML> +<html> +<head> + <title>Test for scrolling selection into view</title> +</head> +<body onload="opener.doTest();"> + +<div id="c1" style="overflow-y:scroll; width:200px; height:200px; position:absolute; top:200px; left:0;"> + <div style="height:400px;"></div> + <div><span id="target1" + style="display:inline-block; vertical-align:top; height:20px;"></span> + </div> + <div style="height:400px;"></div> +</div> +<div id="c2" style="overflow:hidden; width:200px; height:200px; position:absolute; top:200px; left:200px;"> + <div style="height:400px;"></div> + <div><span id="target2" + style="display:inline-block; vertical-align:top; height:20px;"></span> + </div> + <div style="height:400px;"></div> +</div> +<div id="c3" style="overflow-y:scroll; width:200px; height:200px; position:absolute; top:200px; left:400px;"> + <div style="height:400px;"></div> + <div><span id="target3" + style="display:inline-block; vertical-align:top; height:300px;"></span> + </div> + <div style="height:400px;"></div> +</div> +<div id="c4" style="overflow-y:scroll; width:200px; height:200px; position:absolute; top:200px; left:600px;"> + <iframe id="target4" style="border:none; width:100%; height:1100px; display:block;" + src="scroll_selection_into_view_window_frame.html"></iframe> +</div> +<div id="c5" style="overflow-y:scroll; width:200px; height:200px; position:absolute; top:400px; left:0;"> + <div style="-moz-transform:translateY(400px); transform:translateY(400px)"> + <span id="target5" style="display:inline-block; vertical-align:top; height:20px;"></span> + </div> + <div style="height:800px;"></div> +</div> +<div id="c6" style="overflow-y:scroll; width:200px; height:200px; position:absolute; top:400px; left:200px;"> + <div style="height:200px"></div> + <div style="height:100px; -moz-transform:scale(2); transform:scale(2)"> + <span id="target6" style="display:inline-block; vertical-align:top; height:20px;"></span> + </div> + <div style="height:800px;"></div> +</div> +<div id="c7" style="overflow-y:scroll; width:200px; height:200px; position:absolute; top:400px; left:400px;"> + <div style="overflow:auto; height:200px; -moz-transform:translateY(400px); transform:translateY(400px)"> + <div style="height:200px;"></div> + <div> + <span id="target7" style="display:inline-block; vertical-align:top; height:20px;"></span> + </div> + <div style="height:800px;"></div> + </div> + <div style="height:800px;"></div> +</div> + +</body> + +</html> |