overscroll-fixed.html (758B)
1 <!DOCTYPE html> 2 <html 3 reftest-async-scroll 4 reftest-displayport-x="0" reftest-displayport-y="0" 5 reftest-displayport-w="800" reftest-displayport-h="2000" 6 reftest-async-scroll-x="0" reftest-async-scroll-y="-200"> 7 <head> 8 <style> 9 html { 10 scrollbar-width: none; 11 } 12 body { 13 height: 3000px; 14 margin: 0; 15 } 16 div { 17 position: fixed; 18 left: 0px; 19 top: 0px; 20 width: 200px; 21 height: 200px; 22 background: green; 23 } 24 </style> 25 </head> 26 <body > 27 <!-- Test that an overscroll past one end of a viewport does not 28 cause a position fixed element to be transformed if the position 29 fixed element's containing block is the current viewport. 30 --> 31 <div></div> 32 </body> 33 </html>