Thu, 15 Jan 2015 21:03:48 +0100
Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)
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> |