-
Notifications
You must be signed in to change notification settings - Fork 78
/
Copy pathcss-scoping.json
36 lines (36 loc) · 1.45 KB
/
css-scoping.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{
"spec": {
"title": "CSS Scoping Module Level 1",
"url": "https://drafts.csswg.org/css-scoping-1/"
},
"properties": [],
"atrules": [],
"selectors": [
{
"name": ":host",
"prose": "The :host pseudo-class, when evaluated in the context of a shadow tree, matches the shadow tree’s shadow host. In any other context, it matches nothing.",
"href": "https://drafts.csswg.org/css-scoping-1/#selectordef-host"
},
{
"name": ":host()",
"prose": "The :host() function pseudo-class has the syntax:",
"href": "https://drafts.csswg.org/css-scoping-1/#selectordef-host-function"
},
{
"name": ":host-context()",
"prose": "The :host-context() functional pseudo-class tests whether there is an ancestor, outside the shadow tree, which matches a particular selector. Its syntax is:",
"href": "https://drafts.csswg.org/css-scoping-1/#selectordef-host-context"
},
{
"name": "::slotted()",
"prose": "The ::slotted() pseudo-element represents the elements assigned, after flattening, to a slot. This pseudo-element only exists on slots.",
"href": "https://drafts.csswg.org/css-scoping-1/#selectordef-slotted"
},
{
"name": ":has-slotted",
"prose": "The :has-slotted pseudo-class matches slot elements which have a non-empty list of flattened slotted nodes.",
"href": "https://drafts.csswg.org/css-scoping-1/#selectordef-has-slotted"
}
],
"values": []
}