slot-content-visibility-17-crash.html (490B)
1 <!DOCTYPE html> 2 <link rel=author href="mailto:jarhar@chromium.org"> 3 <link rel=help href="https://bugs.chromium.org/p/chromium/issues/detail?id=1251931"> 4 5 <style> 6 .a + .b { color: green } 7 </style> 8 <div id="host"> 9 <div> 10 <div> 11 <div id="a"></div><div id="b" class="b"></div> 12 </div> 13 </div> 14 </div> 15 <div style="content-visibility:hidden"></div> 16 <script> 17 host.attachShadow({mode:"open"}); 18 document.body.offsetTop; 19 a.className = "a"; 20 getComputedStyle(b).color; 21 </script>