Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test has a WPT meta file that disables it given conditions:
- (os == "mac") and (os_version == "14.70") and (processor == "x86_64") and not debug : Bug 1931134
- (os == "mac") and (os_version == "14.70") and (processor == "x86_64") and debug : Bug 1931134
- This WPT test may be referenced by the following Test IDs:
- /css/css-sizing/auto-scrollbar-inside-stf-abspos.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="help" href="https://www.w3.org/TR/css-sizing-3/#valdef-width-fit-content-length-percentage">
<link rel="match" href="auto-scrollbar-inside-stf-abspos-ref.html">
<style>
/* Set non-auto overflow on the viewport, so that the UA is more likely to get
the size right the first time. Otherwise, a re-layout might hide the bug
that we're trying to test. */
body { overflow:hidden; }
</style>
<p>The word PASS should be visible below.</p>
<div style="position:absolute;">
<div style="height:5em; overflow-y:auto;">
<div style="height:15em;">PASS</div>
</div>
</div>