1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 20:57:44 +00:00

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.
This commit is contained in:
Sam Atkins 2023-08-22 16:51:42 +01:00 committed by Andreas Kling
parent 9f5b1e6614
commit 7bc5949e35
5 changed files with 34 additions and 0 deletions

View file

@ -95,6 +95,9 @@
"paused": {
"argument": ""
},
"placeholder-shown": {
"argument": ""
},
"playing": {
"argument": ""
},