summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/semantics/scripting-1/the-template-element/additions-to-the-css-user-agent-style-sheet/css-user-agent-style-sheet-test-002.html
blob: 92f3d81eacaa74fa4706316f350ea656772cff74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<!DOCTYPE html>
    <title>Template Test: check that template content is invisible by default</title>
    <link rel="author" title="Sergey G. Grekhov" href="mailto:sgrekhov@unipro.ru">
    <link rel="help" href="http://www.w3.org/TR/2013/WD-html-templates-20130214/#css-additions">
    <meta name="assert" content="The template element itself must be hidden by default">
    <link rel="match" href="css-user-agent-style-sheet-test-001-ref.html">
<body>
    <p>Test passes if there's no anything below this line.</p>
    <template style="border: 1px solid; width: 100px; height: 100px">
        <span style="color:red">Test fails if you can see this text or border around it</span>
    </template>
</body>