tor-browser

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

inline-flex-editing-with-updating-text-crash.html (856B)


      1 <!DOCTYPE html>
      2 <title>CSS Flexbox: inline-flex layout with updating text and 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 updating text and editing operations.">
      7 <style>#el0::first-letter, #el0:first-child { height: 10px; }</style>
      8 <div id='container' contentEditable>
      9  <a>
     10    <img>
     11    <div id="el0" style="display: inline-flex">
     12      <pre></pre>
     13    </div>
     14  </a>
     15 </div>
     16 <script>
     17 document.querySelector('pre').textContent = 'AA\u0605';
     18 window.getSelection().selectAllChildren(document.getElementById('container'));
     19 document.execCommand('FormatBlock', false, '<h1>');
     20 </script>