 Chromium Code Reviews
 Chromium Code Reviews Issue 2890583002:
  Fix incorrect use of coords conversion for sticky elements  (Closed)
    
  
    Issue 2890583002:
  Fix incorrect use of coords conversion for sticky elements  (Closed) 
  | OLD | NEW | 
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
| 2 <style> | |
| 3 .fixed { | |
| 4 position: fixed; | |
| 5 } | |
| 
flackr
2017/05/19 18:28:31
Remove unused class.
 
yigu
2017/05/23 19:16:40
Done.
 | |
| 6 | |
| 7 .composited { | |
| 8 /* Force compositing without creating a stacking context */ | |
| 9 backface-visibility: hidden; | |
| 10 } | |
| 11 | |
| 12 .spacer { | |
| 13 height: 2000px; | |
| 14 } | |
| 15 | |
| 16 .container { | |
| 17 width: 500px; | |
| 18 height: 500px; | |
| 19 overflow: scroll; | |
| 20 } | |
| 21 </style> | |
| 22 | |
| 23 <div class="composited"> | |
| 24 Ref text. | |
| 25 <div class="container"> | |
| 26 <div> | |
| 27 This line should line up with the text above. | |
| 28 </div> | |
| 29 <div class="spacer"></div> | |
| 30 </div> | |
| 31 </div> | |
| OLD | NEW |