anchor-scroll-composited-scrolling-paint-001-ref.html (603B)
1 <!DOCTYPE html> 2 <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1999954"> 3 <style> 4 .abs-cb { 5 width: 100px; 6 height: 100px; 7 position: relative; 8 } 9 10 .anchor { 11 anchor-name: --a; 12 width: 50px; 13 height: 50px; 14 background: blue; 15 } 16 17 .chain { 18 width: 25px; 19 height: 25px; 20 background: pink; 21 position: absolute; 22 left: 50px; 23 top: 50px; 24 } 25 26 .positioned { 27 width: 25px; 28 height: 25px; 29 background: yellow; 30 position: absolute; 31 left: 75px; 32 top: 75px; 33 } 34 </style> 35 <div class=abs-cb> 36 <div class=anchor></div> 37 <div class=chain></div> 38 <div class=positioned></div> 39 </div>