content-visibility-in-svg-000-crash.html (871B)
1 <!DOCTYPE html> 2 <html class="test-wait"> 3 <link rel="author" title="Vladimir Levin" href="mailto:vmpstr@chromium.org"> 4 <link rel="help" href="https://crbug.com/1247196"> 5 <meta name="assert" content="Clip path with content-visibility does not cause an assert"> 6 7 <svg width="138"> 8 <defs> 9 <clipPath id="snowglobe_clipPath"> 10 <circle cx="34" /> 11 </clipPath> 12 </defs> 13 <circle /> 14 <g class="group-snow" clip-path="url(#snowglobe_clipPath)"> 15 <g class="snowContainer"> 16 <circle class="snow" /> 17 </g> 18 </g> 19 </svg> 20 <script type="text/javascript"> 21 onload = () => { 22 var test0 = document.getElementById("snowglobe_clipPath"); 23 test0.style.setProperty("content-visibility", "auto ", "important"); 24 test0.innerHTML = ""; 25 test0.offsetHeight; 26 27 requestAnimationFrame(() => document.documentElement.classList.remove('test-wait')); 28 }; 29 </script> 30 </html>