tor-browser

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

min-max-content-orthogonal-flow-crash-001.html (712B)


      1 <!DOCTYPE html>
      2 <title>CSS Test: Check computing min-/max-content does not cause crash</title>
      3 <link rel="help" href="https://crbug.com/976859">
      4 <link rel="help" href="https://drafts.csswg.org/css-sizing-3/#sizing-values">
      5 <link rel="author" title="Koji Ishii" href="mailto:kojii@chromium.org">
      6 <script src="/resources/testharness.js"></script>
      7 <script src="/resources/testharnessreport.js"></script>
      8 <style>
      9 body {
     10  width: fit-content;
     11 }
     12 #target {
     13  display: block;
     14  writing-mode: vertical-lr;
     15  columns: 2;
     16 }
     17 .after #target {
     18  float: left;
     19 }
     20 </style>
     21 <body>
     22  <div id="target"></div>
     23 <script>
     24 test(() => {
     25  const body = document.body;
     26  body.offsetTop;
     27  body.classList.add("after");
     28 });
     29 </script>
     30 </body>