summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/custom-elements/v0/registering/unresolved-element-pseudoclass/unresolved-element-pseudoclass-css-test-type-extension.html
blob: 60f39125a0b428ae69732f5fab1d312d34b2ffc9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html>
<html>
<title>The :unresolved pseudoclass matching type extension</title>
<link rel="author" title="Aleksei Yu. Semenov" href="mailto:a.semenov@unipro.ru">
<meta name="assert" content="The :unresolved pseudoclass must match all custom elements whose created callback has not yet been invoked">
<link rel="help" href="http://www.w3.org/TR/custom-elements/#unresolved-element-pseudoclass">
<link rel="match" href="unresolved-element-pseudoclass-css-test-type-extension-ref.html">
<style>
    :unresolved {
        background-color: red;
    }
    body {
        background-color: white;
    }
</style>
<body>
    <p>Test passes if x-element background below is red</p>
    <a is="x-element">
        x-element
    </a>
</body>
</html>