Thu, 15 Jan 2015 15:55:04 +0100
Back out 97036ab72558 which inappropriately compared turds to third parties.
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 covered by positioned siblings with higher z-index even when the scrollable frame has a positioned descendant</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 | } |
michael@0 | 16 | |
michael@0 | 17 | #content { |
michael@0 | 18 | height: 400px; |
michael@0 | 19 | background: cyan; |
michael@0 | 20 | position: relative; |
michael@0 | 21 | z-index: 1; |
michael@0 | 22 | } |
michael@0 | 23 | |
michael@0 | 24 | #cover { |
michael@0 | 25 | width: 200px; |
michael@0 | 26 | height: 200px; |
michael@0 | 27 | background: cyan; |
michael@0 | 28 | position: absolute; |
michael@0 | 29 | z-index: 2; |
michael@0 | 30 | } |
michael@0 | 31 | |
michael@0 | 32 | </style> |
michael@0 | 33 | |
michael@0 | 34 | <div id="cover"></div> |
michael@0 | 35 | <div id="outer"><div id="content"></div></div> |