-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FF121 CSS :state() pseudo class (#22083)
* FF121 CSS :state() pseudo class * Behind preference * Add note about Chrome support * Update css/selectors/state.json
- Loading branch information
1 parent
a97430b
commit a57c886
Showing
1 changed file
with
56 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
{ | ||
"css": { | ||
"selectors": { | ||
"state": { | ||
"__compat": { | ||
"description": "Custom state pseudo-class selector (<code>:state()</code>)", | ||
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/:state", | ||
"spec_url": "https://html.spec.whatwg.org/multipage/semantics-other.html#selector-custom", | ||
"support": { | ||
"chrome": { | ||
"version_added": false, | ||
"notes": "From version 90 Chromium supports custom state selection using a dashed-ident (such as <code>:--foo</code>) instead of <code>:state()</code>." | ||
}, | ||
"chrome_android": "mirror", | ||
"edge": "mirror", | ||
"firefox": { | ||
"version_added": "121", | ||
"flags": [ | ||
{ | ||
"type": "preference", | ||
"name": "dom.element.customstateset.enabled", | ||
"value_to_set": "true" | ||
} | ||
] | ||
}, | ||
"firefox_android": "mirror", | ||
"ie": { | ||
"version_added": false | ||
}, | ||
"oculus": "mirror", | ||
"opera": "mirror", | ||
"opera_android": "mirror", | ||
"safari": { | ||
"version_added": "preview", | ||
"flags": [ | ||
{ | ||
"name": "CustomStateSet", | ||
"value_to_set": "true", | ||
"type": "preference" | ||
} | ||
] | ||
}, | ||
"safari_ios": "mirror", | ||
"samsunginternet_android": "mirror", | ||
"webview_android": "mirror" | ||
}, | ||
"status": { | ||
"experimental": true, | ||
"standard_track": true, | ||
"deprecated": false | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |