Source code

Revision control

Copy as Markdown

Other Tools

<!DOCTYPE html>
<html class="reftest-wait">
<title>CSS Overflow Test: A fullscreen element covers the root scrollbar-gutter</title>
<link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com">
<link rel="author" title="Mozilla" href="https://www.mozilla.org/">
<link rel="match" href="scrollbar-gutter-fullscreen-001-ref.html">
<script src="/resources/testdriver.js"></script>
<script src="/resources/testdriver-vendor.js"></script>
<style>
:root {
scrollbar-gutter: stable both-edges;
background: red;
}
#target {
background: green;
}
#target::backdrop {
display: none;
}
</style>
<div id="target"></div>
<script>
document.addEventListener("fullscreenchange", () => {
document.documentElement.classList.remove("reftest-wait");
});
test_driver.bless("fullscreen", () => target.requestFullscreen());
</script>
</html>