Debian Codegraph @

testing/web-platform/mozilla/tests/css/css-overflow/scrollbar-left-fixedpos-ref.html

raw
1 <!DOCTYPE html>
2 <title>CSS Overflow Reference: Root element's scrollbar on the left edge is accounted for in fixed-pos positioning</title>
3 <link rel="author" title="Ting-Yu Lin" href="mailto:[email protected]">
4 <link rel="author" title="Mozilla" href="https://www.mozilla.org/">
5 <style>
6 :root {
7 overflow: scroll;
8 }
9 body {
10 margin: 0;
11 }
12 .fixed {
13 width: 100px;
14 height: 100px;
15 background: green;
16 position: absolute;
17 }
18 </style>
19
20 <div class="fixed" style="left: 0"></div>
21 <div class="fixed" style="right: 0"></div>