tor-browser

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

inline-flex-editing-crash.html (770B)


      1 <!DOCTYPE html>
      2 <title>CSS Flexbox: inline-flex layout with editing operations</title>
      3 <link rel="help" href="https://drafts.csswg.org/css-flexbox/#flex-containers">
      4 <link rel="help" href="https://bugs.webkit.org/show_bug.cgi?id=77772">
      5 <link rel="help" href="https://crbug.com/118662">
      6 <meta name="assert" content="This test ensures that inline-flex layout does not crash with editing operations.">
      7 <style>#el0::first-letter, #el0:first-child { height: 100px; }</style>
      8 <div id='container' contentEditable>
      9  <a>
     10    <img>
     11    <div id="el0" style="display: inline-flex">
     12      <pre>AAAAA</pre>
     13    </div>
     14  </a>
     15 </div>
     16 <script>
     17 window.getSelection().selectAllChildren(document.getElementById('container'));
     18 document.execCommand('FormatBlock', false, '<h5>');
     19 </script>