tor-browser

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

mq-unknown-feature-custom-property.html (547B)


      1 <!DOCTYPE html>
      2 <title>Media Queries Test: Custom property name as media feature name</title>
      3 <link rel="help" href="https://drafts.csswg.org/mediaqueries-4/#mq-syntax">
      4 <script src="/resources/testharness.js"></script>
      5 <script src="/resources/testharnessreport.js"></script>
      6 <style id="media_sheet">
      7  @media (--FOO: bar) {}
      8 </style>
      9 <script>
     10  test(() => {
     11    assert_equals(media_sheet.sheet.cssRules[0].conditionText, "(--FOO: bar)")
     12  }, "Serialization of <mf-name> : <mf-value> with custom property feature name and ident value");
     13 </script>