auto-scrollbar-inside-stf-abspos.html (690B)
1 <!DOCTYPE html> 2 <link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org"> 3 <link rel="help" href="https://www.w3.org/TR/css-sizing-3/#valdef-width-fit-content-length-percentage"> 4 <link rel="match" href="auto-scrollbar-inside-stf-abspos-ref.html"> 5 <style> 6 /* Set non-auto overflow on the viewport, so that the UA is more likely to get 7 the size right the first time. Otherwise, a re-layout might hide the bug 8 that we're trying to test. */ 9 body { overflow:hidden; } 10 </style> 11 <p>The word PASS should be visible below.</p> 12 <div style="position:absolute;"> 13 <div style="height:5em; overflow-y:auto;"> 14 <div style="height:15em;">PASS</div> 15 </div> 16 </div>