tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

shape-outside-polygon-crash.html (740B)


      1 <!DOCTYPE html>
      2 <meta name="assert" content="This test passes if the renderer does not crash."/>
      3 <link rel="help" href="https://crbug.com/963580" />
      4 <script src="/resources/testharness.js"></script>
      5 <script src="/resources/testharnessreport.js"></script>
      6 <div style="float:left; width:200px; height:200px; background: green;"></div>
      7 x
      8 <div style="width:200px; height:200px;">
      9  <div id="target" style="float:left; width:100px; height:100px; shape-outside:polygon(10px 10px, 20px 20px);"></div>
     10  y
     11 </div>
     12 <div style="float:left; width:200px; height:200px;"></div>
     13 <script>
     14 test(() => {
     15  document.body.offsetTop;
     16  target.style.shapeOutside = "none";
     17  document.body.offsetTop;
     18 }, 'Test passes if the renderer does not crash.');
     19 </script>