Files
ladybird/Userland/Libraries/LibWeb/CSS/PseudoClasses.json
Sam Atkins 7bc5949e35 LibWeb: Implement the :placeholder-shown pseudo-class
This matches if the element has a placeholder, and that placeholder is
currently visible. This applies to `<input>` and `<textarea>` elements,
but our `<textarea>` is very limited so does not support placeholders.
2023-08-23 05:30:59 +02:00

138 lines
1.9 KiB
JSON

{
"active": {
"argument": ""
},
"any-link": {
"argument": ""
},
"buffering": {
"argument": ""
},
"checked": {
"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": ""
},
"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>"
}
}