1648282-1b.html (1046B)
1 <!DOCTYPE html> 2 <!-- This Source Code Form is subject to the terms of the Mozilla Public 3 - License, v. 2.0. If a copy of the MPL was not distributed with this file, 4 - You can obtain one at http://mozilla.org/MPL/2.0/. --> 5 <html reftest-async-scroll> 6 7 <head> 8 <meta http-equiv="content-type" content="text/html; charset=UTF-8"> 9 <meta charset="UTF-8"> 10 <style> 11 * { 12 margin: 0px; 13 padding: 0px; 14 } 15 16 .scrolled { 17 height: 400px; 18 opacity: 0.9; 19 background: linear-gradient(white, green); 20 } 21 22 .body { 23 width: 500px; 24 height: 200px; 25 overflow: hidden scroll; 26 background-color: red; 27 } 28 29 .pixel { 30 position: absolute; 31 width: 1px; 32 height: 1px; 33 } 34 </style> 35 <title>Bug 1648282</title> 36 </head> 37 38 <body> 39 <div class="body" reftest-async-scroll-x="0" reftest-async-scroll-y="50"> 40 <div class="scrolled"> 41 <div class="pixel" style="visibility: visible;"></div> 42 </div> 43 </div> 44 </body> 45 </html>