tor-browser

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

zero-column-width-computed-style.html (626B)


      1 <!DOCTYPE html>
      2 <title>column-width:0</title>
      3 <link rel="author" title="Morten Stenshorne" href="mstensho@chromium.org">
      4 <link rel="help" href="https://drafts.csswg.org/css-multicol/#cw" title="3.1. column-width">
      5 <div id="longhand" style="column-width:0;"></div>
      6 <div id="shorthand" style="columns:0;"></div>
      7 <script src="/resources/testharness.js"></script>
      8 <script src="/resources/testharnessreport.js"></script>
      9 <script>
     10 test(() => {
     11  assert_equals(getComputedStyle(longhand).columnWidth, "0px");
     12  assert_equals(getComputedStyle(shorthand).columnWidth, "0px");
     13 }, "column-width:0 is a valid CSS declaration");
     14 </script>