diff options
Diffstat (limited to 'testing/web-platform/mozilla/tests/css/css-overflow/scrollbar-left-fixedpos.html')
-rw-r--r-- | testing/web-platform/mozilla/tests/css/css-overflow/scrollbar-left-fixedpos.html | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/testing/web-platform/mozilla/tests/css/css-overflow/scrollbar-left-fixedpos.html b/testing/web-platform/mozilla/tests/css/css-overflow/scrollbar-left-fixedpos.html new file mode 100644 index 0000000000..5ecbad1b0e --- /dev/null +++ b/testing/web-platform/mozilla/tests/css/css-overflow/scrollbar-left-fixedpos.html @@ -0,0 +1,23 @@ +<!DOCTYPE html> +<title>CSS Overflow Test: Root element's scrollbar on the left edge is accounted for in fixed-pos positioning</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="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=728807"> +<link rel="match" href="scrollbar-left-fixedpos-ref.html"> +<style> +:root { + overflow: scroll; +} +body { + margin: 0; +} +.fixed { + width: 100px; + height: 100px; + background: green; + position: fixed; +} +</style> + +<div class="fixed" style="left: 0"></div> +<div class="fixed" style="right: 0"></div> |