tor-browser

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

place-items-shorthand-001.html (1035B)


      1 <!DOCTYPE html>
      2 <title>CSS Box Alignment: place-items shorthand - single values specified</title>
      3 <link rel="author" title="Javier Fernandez" href="mailto:jfernandez@igalia.com" />
      4 <link rel="help" href="http://www.w3.org/TR/css3-align/#place-items-property" />
      5 <meta name="assert" content="Check that setting a single value to place-items expands to such value set in both 'align-items' and 'justify-items'." />
      6 <script src="/resources/testharness.js"></script>
      7 <script src="/resources/testharnessreport.js"></script>
      8 <script src="/css/css-align/resources/alignment-parsing-utils.js"></script>
      9 <div id="log"></div>
     10 <script>
     11    let classes = Object.assign({"Normal":"normal", "Stretch":"stretch"}, selfPositionClasses, baselineClasses,
     12                                overflowClasses);
     13    for (var key in classes) {
     14        let value = classes[key];
     15        test(function() {
     16            checkPlaceShorhandLonghands("place-items", "align-items", "justify-items", value);
     17        }, "Checking place-items: " + value);
     18    }
     19 </script>