Thu, 15 Jan 2015 21:13:52 +0100
Remove forgotten relic of ABI crash risk averse overloaded method change.
michael@0 | 1 | <!DOCTYPE html> |
michael@0 | 2 | <html class="reftest-wait"> |
michael@0 | 3 | <title>Scrolling over inactive layers shouldn't repaint their contents</title> |
michael@0 | 4 | |
michael@0 | 5 | <style> |
michael@0 | 6 | |
michael@0 | 7 | .outer { |
michael@0 | 8 | border: 1px solid black; |
michael@0 | 9 | width: 100px; |
michael@0 | 10 | height: 2000px; |
michael@0 | 11 | margin-top: 200px; |
michael@0 | 12 | margin-right: 20px; |
michael@0 | 13 | padding-top: 100px; |
michael@0 | 14 | float: left; |
michael@0 | 15 | } |
michael@0 | 16 | |
michael@0 | 17 | .opacity { |
michael@0 | 18 | opacity: 0.5; |
michael@0 | 19 | } |
michael@0 | 20 | |
michael@0 | 21 | .transform { |
michael@0 | 22 | transform: translateX(1px); |
michael@0 | 23 | } |
michael@0 | 24 | |
michael@0 | 25 | .filter { |
michael@0 | 26 | filter: url(#filter); |
michael@0 | 27 | } |
michael@0 | 28 | |
michael@0 | 29 | .mask { |
michael@0 | 30 | mask: url(#mask); |
michael@0 | 31 | } |
michael@0 | 32 | |
michael@0 | 33 | .reftest-no-paint { |
michael@0 | 34 | height: 50px; |
michael@0 | 35 | border: 1px solid lime; |
michael@0 | 36 | } |
michael@0 | 37 | |
michael@0 | 38 | </style> |
michael@0 | 39 | |
michael@0 | 40 | <svg height="0"> |
michael@0 | 41 | <defs> |
michael@0 | 42 | <filter id="filter" filterUnits="objectBoundingBox" |
michael@0 | 43 | x="0%" y="0%" width="100%" height="100%" |
michael@0 | 44 | color-interpolation-filters="sRGB"> |
michael@0 | 45 | <feMerge><feMergeNode/><feMerge> |
michael@0 | 46 | </filter> |
michael@0 | 47 | <mask id="mask" maskContentUnits="objectBoundingBox"> |
michael@0 | 48 | <rect x="0" y="0" width="1" height="1" fill="white"/> |
michael@0 | 49 | </mask> |
michael@0 | 50 | </defs> |
michael@0 | 51 | </svg> |
michael@0 | 52 | |
michael@0 | 53 | <div class="outer opacity"> |
michael@0 | 54 | <div class="reftest-no-paint"></div> |
michael@0 | 55 | </div> |
michael@0 | 56 | |
michael@0 | 57 | <div class="outer transform"> |
michael@0 | 58 | <div class="reftest-no-paint"></div> |
michael@0 | 59 | </div> |
michael@0 | 60 | |
michael@0 | 61 | <div class="outer filter"> |
michael@0 | 62 | <div class="reftest-no-paint"></div> |
michael@0 | 63 | </div> |
michael@0 | 64 | |
michael@0 | 65 | <div class="outer mask"> |
michael@0 | 66 | <div class="reftest-no-paint"></div> |
michael@0 | 67 | </div> |
michael@0 | 68 | |
michael@0 | 69 | <script> |
michael@0 | 70 | |
michael@0 | 71 | function doTest() { |
michael@0 | 72 | document.documentElement.scrollTop = 100; |
michael@0 | 73 | document.documentElement.removeAttribute("class"); |
michael@0 | 74 | } |
michael@0 | 75 | document.addEventListener("MozReftestInvalidate", doTest, false); |
michael@0 | 76 | |
michael@0 | 77 | </script> |