layout/reftests/z-index/overlayscrollbar-sorting-2.html

Wed, 31 Dec 2014 06:55:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:55:50 +0100
changeset 2
7e26c7da4463
permissions
-rw-r--r--

Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2

michael@0 1 <!--
michael@0 2 Any copyright is dedicated to the Public Domain.
michael@0 3 http://creativecommons.org/publicdomain/zero/1.0/
michael@0 4 -->
michael@0 5 <!DOCTYPE html>
michael@0 6 <meta charset="utf-8">
michael@0 7 <title>Test that overlay scrollbars are not covered by overlapping non-positioned siblings</title>
michael@0 8
michael@0 9 <style>
michael@0 10
michael@0 11 #outer {
michael@0 12 width: 200px;
michael@0 13 height: 200px;
michael@0 14 overflow: auto;
michael@0 15 background: cyan;
michael@0 16 }
michael@0 17
michael@0 18 #content {
michael@0 19 height: 400px;
michael@0 20 }
michael@0 21
michael@0 22 /* This test has different behavior depending on the type of scrollbar used.
michael@0 23 * We want the scrollbar to be visible. But for non-overlay scrollbars, the
michael@0 24 * cover would cover them so we disable the cover.
michael@0 25 */
michael@0 26 @media all and (-moz-overlay-scrollbars) {
michael@0 27 #cover {
michael@0 28 margin-top: -200px;
michael@0 29 width: 200px;
michael@0 30 height: 200px;
michael@0 31 background: cyan;
michael@0 32 }
michael@0 33 }
michael@0 34
michael@0 35 </style>
michael@0 36
michael@0 37 <div id="outer"><div id="content"></div></div>
michael@0 38 <div id="cover"></div>

mercurial