Skip to content

Commit 2395ce9

Browse files
ramiycaugner
andauthored
Firefox 146 adds CSS @custom-media at-rule behind flag (#28438)
* feat(css): Add browser compatibility data for the CSS `@custom-media` at-rule * Update css/at-rules/custom-media.json Co-authored-by: Claas Augner <[email protected]> --------- Co-authored-by: Claas Augner <[email protected]>
1 parent b669b57 commit 2395ce9

File tree

1 file changed

+47
-0
lines changed

1 file changed

+47
-0
lines changed

css/at-rules/custom-media.json

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
{
2+
"css": {
3+
"at-rules": {
4+
"custom-media": {
5+
"__compat": {
6+
"description": "`@custom-media`",
7+
"spec_url": "https://drafts.csswg.org/mediaqueries-5/#at-ruledef-custom-media",
8+
"support": {
9+
"chrome": {
10+
"version_added": false,
11+
"impl_url": "https://crbug.com/40781325"
12+
},
13+
"chrome_android": "mirror",
14+
"edge": "mirror",
15+
"firefox": {
16+
"version_added": "146",
17+
"flags": [
18+
{
19+
"type": "preference",
20+
"name": "layout.css.custom-media.enabled",
21+
"value_to_set": "true"
22+
}
23+
]
24+
},
25+
"firefox_android": "mirror",
26+
"oculus": "mirror",
27+
"opera": "mirror",
28+
"opera_android": "mirror",
29+
"safari": {
30+
"version_added": false,
31+
"impl_url": "https://webkit.org/b/233820"
32+
},
33+
"safari_ios": "mirror",
34+
"samsunginternet_android": "mirror",
35+
"webview_android": "mirror",
36+
"webview_ios": "mirror"
37+
},
38+
"status": {
39+
"experimental": true,
40+
"standard_track": true,
41+
"deprecated": false
42+
}
43+
}
44+
}
45+
}
46+
}
47+
}

0 commit comments

Comments
 (0)