-
Notifications
You must be signed in to change notification settings - Fork 17
/
css-scoping.json
124 lines (124 loc) · 4.51 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
{
"host-selector": [
{
"engines": [
"blink",
"gecko",
"webkit"
],
"filename": "css/selectors/host.json",
"name": "host",
"slug": "CSS/:host",
"mdn_url": "https://developer.mozilla.org/en-US/docs/Web/CSS/:host",
"summary": "The :host CSS pseudo-class selects the shadow host of the shadow DOM containing the CSS it is used inside — in other words, this allows you to select a custom element from inside its shadow DOM.",
"support": {
"chrome": {
"version_added": "54"
},
"chrome_android": "mirror",
"edge": "mirror",
"firefox": {
"version_added": "63"
},
"firefox_android": "mirror",
"ie": {
"version_added": false
},
"oculus": "mirror",
"opera": "mirror",
"opera_android": "mirror",
"safari": {
"version_added": "10"
},
"safari_ios": "mirror",
"samsunginternet_android": "mirror",
"webview_android": "mirror",
"edge_blink": {
"version_added": "79"
}
},
"title": ":host"
},
{
"engines": [
"blink",
"gecko",
"webkit"
],
"filename": "css/selectors/hostfunction.json",
"name": "hostfunction",
"slug": "CSS/:host()",
"mdn_url": "https://developer.mozilla.org/en-US/docs/Web/CSS/:host()",
"summary": "The :host() CSS pseudo-class function selects the shadow host of the shadow DOM containing the CSS it is used inside (so you can select a custom element from inside its shadow DOM) — but only if the selector given as the function's parameter matches the shadow host.",
"support": {
"chrome": {
"version_added": "54"
},
"chrome_android": "mirror",
"edge": "mirror",
"firefox": {
"version_added": "63"
},
"firefox_android": "mirror",
"ie": {
"version_added": false
},
"oculus": "mirror",
"opera": "mirror",
"opera_android": "mirror",
"safari": {
"version_added": "10",
"notes": "Certain CSS selectors do not work (:host > .local-child) and styling slotted content (::slotted) is buggy."
},
"safari_ios": "mirror",
"samsunginternet_android": "mirror",
"webview_android": "mirror",
"edge_blink": {
"version_added": "79"
}
},
"title": ":host()"
}
],
"slotted-pseudo": [
{
"engines": [
"blink",
"gecko",
"webkit"
],
"filename": "css/selectors/slotted.json",
"name": "slotted",
"slug": "CSS/::slotted",
"mdn_url": "https://developer.mozilla.org/en-US/docs/Web/CSS/::slotted",
"summary": "The ::slotted() CSS pseudo-element represents any element that has been placed into a slot inside an HTML template (see Using templates and slots for more information).",
"support": {
"chrome": {
"version_added": "50"
},
"chrome_android": "mirror",
"edge": "mirror",
"firefox": {
"version_added": "63"
},
"firefox_android": "mirror",
"ie": {
"version_added": false
},
"oculus": "mirror",
"opera": "mirror",
"opera_android": "mirror",
"safari": {
"version_added": "10"
},
"safari_ios": "mirror",
"samsunginternet_android": "mirror",
"webview_android": "mirror",
"edge_blink": {
"version_added": "79"
}
},
"title": "::slotted()"
}
]
}