HTMLEmbedElement.html (1093B)
1 <!DOCTYPE html> 2 <title>Custom Elements: CEReactions on HTMLEmbedElement interface</title> 3 <link rel="author" title="Intel" href="http://www.intel.com"> 4 <meta name="assert" content="src, type, width, height of 5 HTMLEmbedElement interface must have CEReactions"> 6 <meta name="help" content="https://html.spec.whatwg.org/#the-embed-element"> 7 <script src="/resources/testharness.js"></script> 8 <script src="/resources/testharnessreport.js"></script> 9 <script src="../../resources/custom-elements-helpers.js"></script> 10 <script src="../resources/reactions.js"></script> 11 12 <script> 13 14 testReflectAttribute( 15 'src', 'src', '/media/movie_5.mp4', 16 '/media/sound_5.mp3', 'src on HTMLEmbedElement', 'embed', 17 HTMLEmbedElement 18 ); 19 testReflectAttribute( 20 'type', 'type', 'video/webm', 21 'video/mp4', 'type on HTMLEmbedElement', 'embed', 22 HTMLEmbedElement 23 ); 24 testReflectAttribute( 25 'width', 'width', '100', 26 '120', 'width on HTMLEmbedElement', 'embed', 27 HTMLEmbedElement 28 ); 29 testReflectAttribute( 30 'height', 'height', '100', 31 '120', 'height on HTMLEmbedElement', 'embed', 32 HTMLEmbedElement 33 ); 34 35 </script>