parse-justify-items-006.html (1104B)
1 <!DOCTYPE html> 2 <meta charset=utf-8> 3 <title>Default-Alignment: justify-items - use of the 'legacy' keyword</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 the use of the 'legacy' keyword in different scenarios."/> 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 test(function() { 14 checkLegacyValues("justifyItems", "justify-items", "legacy left"); 15 }, "Test the value justify-items: legacy left"); 16 test(function() { 17 checkLegacyValues("justifyItems", "justify-items", "legacy center"); 18 }, "Test the value justify-items: legacy center"); 19 test(function() { 20 checkLegacyValues("justifyItems", "justify-items", "legacy right"); 21 }, "Test the value justify-items: legacy right"); 22 </script>