second-legend-becomes-rendered-legend-crash.html (609B)
1 <!DOCTYPE html> 2 <link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org"> 3 <link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1119400"> 4 <fieldset> 5 <legend id="legend1"></legend> 6 <legend id="legend2"><div id="child" style="float:left;"></div></legend> 7 </fieldset> 8 <script> 9 requestAnimationFrame(()=> { 10 requestAnimationFrame(()=> { 11 legend1.style.display = "none"; 12 document.body.offsetTop; 13 14 child.style.width = "22px"; 15 document.body.offsetTop; 16 17 child.style.display = "none"; 18 }); 19 }); 20 </script>