mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 19:35:09 +00:00

These apply to any elements that have some kind of open/closed state. The spec suggests `<details>`, `<dialog>`, and `<select>`, so that's what I've supported here. Only `<details>` is fleshed out right now, but once the others are, these pseudo-classes should work automatically. :^)
143 lines
2 KiB
JSON
143 lines
2 KiB
JSON
{
|
|
"active": {
|
|
"argument": ""
|
|
},
|
|
"any-link": {
|
|
"argument": ""
|
|
},
|
|
"buffering": {
|
|
"argument": ""
|
|
},
|
|
"checked": {
|
|
"argument": ""
|
|
},
|
|
"closed": {
|
|
"argument": ""
|
|
},
|
|
"defined": {
|
|
"argument": ""
|
|
},
|
|
"dir": {
|
|
"argument": "<ident>"
|
|
},
|
|
"disabled": {
|
|
"argument": ""
|
|
},
|
|
"empty": {
|
|
"argument": ""
|
|
},
|
|
"enabled": {
|
|
"argument": ""
|
|
},
|
|
"first-child": {
|
|
"argument": ""
|
|
},
|
|
"first-of-type": {
|
|
"argument": ""
|
|
},
|
|
"focus": {
|
|
"argument": ""
|
|
},
|
|
"focus-visible": {
|
|
"argument": ""
|
|
},
|
|
"focus-within": {
|
|
"argument": ""
|
|
},
|
|
"host": {
|
|
"argument": "<compound-selector>?"
|
|
},
|
|
"hover": {
|
|
"argument": ""
|
|
},
|
|
"indeterminate": {
|
|
"argument": ""
|
|
},
|
|
"is": {
|
|
"argument": "<forgiving-selector-list>"
|
|
},
|
|
"lang": {
|
|
"argument": "<language-ranges>"
|
|
},
|
|
"last-child": {
|
|
"argument": ""
|
|
},
|
|
"last-of-type": {
|
|
"argument": ""
|
|
},
|
|
"link": {
|
|
"argument": ""
|
|
},
|
|
"local-link": {
|
|
"argument": ""
|
|
},
|
|
"muted": {
|
|
"argument": ""
|
|
},
|
|
"not": {
|
|
"argument": "<selector-list>"
|
|
},
|
|
"nth-child": {
|
|
"argument": "<an+b-of>"
|
|
},
|
|
"nth-last-child": {
|
|
"argument": "<an+b-of>"
|
|
},
|
|
"nth-last-of-type": {
|
|
"argument": "<an+b>"
|
|
},
|
|
"nth-of-type": {
|
|
"argument": "<an+b>"
|
|
},
|
|
"only-child": {
|
|
"argument": ""
|
|
},
|
|
"only-of-type": {
|
|
"argument": ""
|
|
},
|
|
"open": {
|
|
"argument": ""
|
|
},
|
|
"paused": {
|
|
"argument": ""
|
|
},
|
|
"placeholder-shown": {
|
|
"argument": ""
|
|
},
|
|
"playing": {
|
|
"argument": ""
|
|
},
|
|
"read-only": {
|
|
"argument": ""
|
|
},
|
|
"read-write": {
|
|
"argument": ""
|
|
},
|
|
"root": {
|
|
"argument": ""
|
|
},
|
|
"scope": {
|
|
"argument": ""
|
|
},
|
|
"seeking": {
|
|
"argument": ""
|
|
},
|
|
"stalled": {
|
|
"argument": ""
|
|
},
|
|
"target": {
|
|
"argument": ""
|
|
},
|
|
"target-within": {
|
|
"argument": ""
|
|
},
|
|
"visited": {
|
|
"argument": ""
|
|
},
|
|
"volume-locked": {
|
|
"argument": ""
|
|
},
|
|
"where": {
|
|
"argument": "<forgiving-selector-list>"
|
|
}
|
|
}
|