blob: 66d0a55104cc5b68bd4a7643ba658cbaa105fdf6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
<!doctype html>
<title>Ref: vertical-scroll test for scrollbar</title>
<iframe src="/feature-policy/experimental-features/resources/vertical-scroll-scrollable-content.html"></iframe>
<script>
let iframe = document.querySelector("iframe");
let overflow_y = "visible";
if (window.location.search.indexOf("no-vertical-scrollbar") !== -1)
overflow_y = "hidden"
iframe.addEventListener("load", () => {
iframe.contentDocument.body.style.overflowY = overflow_y;
});
</script>
|