contain-dynamic-change-crash.html (425B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1928724"> 4 5 <style> 6 *:only-child { 7 contain: size layout paint; 8 } 9 </style> 10 11 <script> 12 document.addEventListener("DOMContentLoaded", () => { 13 a.getBoundingClientRect(); 14 a.appendChild(c); 15 b.scrollBy(); 16 }) 17 </script> 18 19 <body> 20 <svg> 21 <animateMotion id="b"> 22 </animateMotion> 23 <foreignObject id="a"> 24 <article> 25 <data id="c">