tor-browser

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

fixed-block-size-block-none-vrl.https.html (844B)


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