tor-browser

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

parse-justify-items-004.html (1054B)


      1 <!DOCTYPE html>
      2 <meta charset=utf-8>
      3 <title>Default-Alignment: justify-items - invalid values</title>
      4 <link rel="author" title="Javier Fernandez" href="mailto:jfernandez@igalia.com" />
      5 <link rel="help" href="https://drafts.csswg.org/css-align-3/#default-alignment" />
      6 <link rel="help" href="https://drafts.csswg.org/css-align-3/#propdef-justify-items" />
      7 <meta name="assert" content="Check bad combinations of specified values."/>
      8 <script src="/resources/testharness.js"></script>
      9 <script src="/resources/testharnessreport.js"></script>
     10 <script src="/css/css-align/resources/alignment-parsing-utils.js"></script>
     11 <div id="log"></div>
     12 <script>
     13    element = document.createElement("div");
     14    document.body.appendChild(element);
     15 
     16    let values = ["auto", "space-around"].concat(invalidPositionValues, invalidLegacyValues);
     17 
     18    values.forEach(function(value) {
     19        test(function() {
     20            checkBadValues(element, "justifyItems", "justify-items",  value);
     21        }, "Checking invalid combination - justify-items: " + value);
     22    });
     23 
     24 </script>