mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:47:35 +00:00
LibWeb: Generate PseudoClass metadata
The usual to/from-string functions, and metadata about whether the pseudo-class is a a function or not, and what type of parameter it takes.
This commit is contained in:
parent
e25b1f76e1
commit
f76c614a84
6 changed files with 350 additions and 0 deletions
116
Userland/Libraries/LibWeb/CSS/PseudoClasses.json
Normal file
116
Userland/Libraries/LibWeb/CSS/PseudoClasses.json
Normal file
|
@ -0,0 +1,116 @@
|
|||
{
|
||||
"active": {
|
||||
"argument": ""
|
||||
},
|
||||
"buffering": {
|
||||
"argument": ""
|
||||
},
|
||||
"checked": {
|
||||
"argument": ""
|
||||
},
|
||||
"defined": {
|
||||
"argument": ""
|
||||
},
|
||||
"disabled": {
|
||||
"argument": ""
|
||||
},
|
||||
"empty": {
|
||||
"argument": ""
|
||||
},
|
||||
"enabled": {
|
||||
"argument": ""
|
||||
},
|
||||
"first-child": {
|
||||
"argument": ""
|
||||
},
|
||||
"first-of-type": {
|
||||
"argument": ""
|
||||
},
|
||||
"focus": {
|
||||
"argument": ""
|
||||
},
|
||||
"focus-visible": {
|
||||
"argument": ""
|
||||
},
|
||||
"focus-within": {
|
||||
"argument": ""
|
||||
},
|
||||
"host": {
|
||||
"argument": "<selector-list>?"
|
||||
},
|
||||
"hover": {
|
||||
"argument": ""
|
||||
},
|
||||
"indeterminate": {
|
||||
"argument": ""
|
||||
},
|
||||
"is": {
|
||||
"argument": "<forgiving-selector-list>"
|
||||
},
|
||||
"lang": {
|
||||
"argument": "<language-ranges>"
|
||||
},
|
||||
"last-child": {
|
||||
"argument": ""
|
||||
},
|
||||
"last-of-type": {
|
||||
"argument": ""
|
||||
},
|
||||
"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": ""
|
||||
},
|
||||
"paused": {
|
||||
"argument": ""
|
||||
},
|
||||
"playing": {
|
||||
"argument": ""
|
||||
},
|
||||
"root": {
|
||||
"argument": ""
|
||||
},
|
||||
"scope": {
|
||||
"argument": ""
|
||||
},
|
||||
"seeking": {
|
||||
"argument": ""
|
||||
},
|
||||
"stalled": {
|
||||
"argument": ""
|
||||
},
|
||||
"target": {
|
||||
"argument": ""
|
||||
},
|
||||
"visited": {
|
||||
"argument": ""
|
||||
},
|
||||
"volume-locked": {
|
||||
"argument": ""
|
||||
},
|
||||
"where": {
|
||||
"argument": "<forgiving-selector-list>"
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue