composite-change-after-scroll-preserves-stacking-order-ref.html (536B)
1 <!doctype HTML> 2 <link rel="author" title="Chris Harrelson" href="chrishtr@chromium.org"> 3 <style> 4 #one, #two { 5 width: 200px; height: 200px; background: lightblue; position: relative 6 } 7 #one { 8 background: lightblue 9 } 10 #two { 11 background: lightgray; 12 margin-top: -200px; 13 } 14 </style> 15 <div id=scroller style="overflow: scroll; width: 300px; height: 300px; will-change: transform"> 16 <div id=one></div> 17 <div id=two></div> 18 <div id=spacer style="width: 50px; height: 5000px"></div> 19 </div>