Files
sousa-gecko/testing/web-platform/tests/css/cssom-view/long_scroll_composited-ref.html
T
Hiroyuki Ikezoe 01e90396c4 Bug 2020932 - Use scrollbar-width: none to hide the scrollbars. r=layout-reviewers,emilio
The test has used `::-webkit-scrollbar { display: none}`, but it's not
standard.

Differential Revision: https://phabricator.services.mozilla.com/D285952
2026-03-04 10:53:32 +00:00

43 lines
723 B
HTML

<!DOCTYPE html>
<meta charset="utf-8">
<title>Long scrolling should work properly</title>
<link rel="author" href="mailto:masonf@chromium.org">
<style>
.post {
height: 1000px;
width: 300px;
border: 1px solid black;
}
.before {
height: 213px;
border-top: 0;
}
.scroller {
overflow-y: scroll;
width: 500px;
height: 500px;
will-change: transform;
scrollbar-width: none;
}
::-webkit-scrollbar {
display: none;
}
</style>
<p>The number 7 should be visible in the scrolled window below.</p>
<div id="scroller" class="scroller">
<div style="position: relative;">
<div style="position: relative;">
<div class="post before"></div>
<div class="post">7</div>
</div>
</div>
</div>