css-user-agent-style-sheet-test-003.html (778B)
1 <!DOCTYPE html> 2 <title>HTML Templates: template content is invisible by default</title> 3 <link rel="author" title="Sergey G. Grekhov" href="mailto:sgrekhov@unipro.ru"> 4 <link rel="help" href="http://www.w3.org/TR/2013/WD-html-templates-20130214/#css-additions"> 5 <meta name="assert" content="The template element itself must be hidden by default"> 6 <link rel="match" href="css-user-agent-style-sheet-test-001-ref.html"> 7 <style> 8 template { 9 border: 1px solid; 10 width: 100px; 11 height: 100px; 12 } 13 </style> 14 <body> 15 <p>Test passes if there's no anything below this line.</p> 16 <template> 17 <span style="color:red">Test fails if you can see this text or border around it</span> 18 </template> 19 </body>