tor-browser

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

HTMLCanvasElement.html (799B)


      1 <!DOCTYPE html>
      2 <title>Custom Elements: CEReactions on HTMLCanvasElement interface</title>
      3 <link rel="author" title="Intel" href="http://www.intel.com">
      4 <meta name="assert" content="width, height of HTMLCanvasElement interface must have CEReactions">
      5 <meta name="help" content="https://html.spec.whatwg.org/#the-canvas-element">
      6 <script src="/resources/testharness.js"></script>
      7 <script src="/resources/testharnessreport.js"></script>
      8 <script src="../../resources/custom-elements-helpers.js"></script>
      9 <script src="../resources/reactions.js"></script>
     10 
     11 <script>
     12 
     13 testReflectAttribute('width', 'width', '15', '20', 'width on HTMLCanvasElement', 'canvas', HTMLCanvasElement);
     14 testReflectAttribute('height', 'height', '23', '45', 'height on HTMLCanvasElement', 'canvas', HTMLCanvasElement);
     15 
     16 </script>