tor-browser

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

grid-template-areas-valid.html (1252B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <meta charset="utf-8">
      5 <title>CSS Grid Layout Test: parsing grid-template-areas with valid values</title>
      6 <link rel="author" title="Eric Willigers" href="mailto:ericwilligers@chromium.org">
      7 <link rel="help" href="https://drafts.csswg.org/css-grid-1/#propdef-grid-template-areas">
      8 <meta name="assert" content="grid-template-areas supports the full grammar 'none | <string>+'.">
      9 <script src="/resources/testharness.js"></script>
     10 <script src="/resources/testharnessreport.js"></script>
     11 <script src="/css/support/parsing-testcommon.js"></script>
     12 </head>
     13 <body>
     14 <script>
     15 test_valid_value("grid-template-areas", "none");
     16 test_valid_value("grid-template-areas", '"first"');
     17 test_valid_value("grid-template-areas", '"first second"');
     18 test_valid_value("grid-template-areas", '"1st 2nd 3rd"');
     19 test_valid_value("grid-template-areas", '"first second" "third fourth"');
     20 test_valid_value("grid-template-areas", '"first second" "third ." "1st 2nd" "3rd 4th"');
     21 
     22 // https://github.com/w3c/csswg-drafts/issues/3261
     23 test_valid_value("grid-template-areas", '"  a  \t  b  "', '"a b"');
     24 test_valid_value("grid-template-areas", '"c\td"', '"c d"');
     25 test_valid_value("grid-template-areas", '"first ..."', '"first ."');
     26 </script>
     27 </body>
     28 </html>