tor-browser

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

parse-justify-self-004.html (1023B)


      1 <!DOCTYPE html>
      2 <meta charset=utf-8>
      3 <title>Self-Alignment: justify-self - 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/#self-alignment" />
      6 <link rel="help" href="https://drafts.csswg.org/css-align-3/#propdef-justify-self" />
      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 = ["legacy", "space-around"].concat(invalidPositionValues);
     17 
     18    values.forEach(function(value) {
     19        test(function() {
     20            checkBadValues(element, "justifySelf", "justify-self",  value);
     21        }, "Checking invalid combination - justify-self: " + value);
     22    });
     23 </script>