tor-browser

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

fixed-inline-size-fixed-vrl.https.html (796B)


      1 <!DOCTYPE html>
      2 <html class=reftest-wait>
      3 <link rel="help" href="https://drafts.css-houdini.org/css-layout-api/#dom-layoutconstraints-fixedinlinesize">
      4 <link rel="match" href="fixed-inline-size-ref.html">
      5 <meta name="assert" content="This test checks that LayoutConstraints#fixedInlineSize is passed into the layout function correctly." />
      6 <style>
      7 .test {
      8  background: red;
      9  height: 100px;
     10  writing-mode: vertical-rl;
     11 }
     12 
     13 @supports (display: layout(test)) {
     14  .test {
     15    background: green;
     16    display: layout(test);
     17  }
     18 }
     19 </style>
     20 <script src="/common/reftest-wait.js"></script>
     21 <script src="/common/worklet-reftest.js"></script>
     22 
     23 <div class="test"></div>
     24 
     25 <script>
     26 importWorkletAndTerminateTestAfterAsyncPaint(CSS.layoutWorklet, {url: 'support/constraints-fixed-inline-size.js'});
     27 </script>