tor-browser

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

presentation-attributes-unknown.html (794B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>SVG presentation attributes - on unknown SVG elements</title>
      4 <link rel="help" href="https://svgwg.org/svg2-draft/styling.html#PresentationAttributes">
      5 <script src="/resources/testharness.js"></script>
      6 <script src="/resources/testharnessreport.js"></script>
      7 <script src="presentation-attributes.js"></script>
      8 <svg id="svg"></svg>
      9 <script>
     10 // Test that all of the presentation attributes with no special
     11 // rules are supported on unknown SVG elements.
     12 
     13 for (let p in PROPERTIES) {
     14  if (CSS.supports(p, "initial") && PROPERTIES[p].irrelevantElement) {
     15    test(function() {
     16      assertPresentationAttributeIsSupported("unknown", p, PROPERTIES[p].value, p);
     17    }, `${p} presentation attribute supported on an unknown SVG element`);
     18  }
     19 }
     20 </script>