mirror of
https://github.com/RGBCube/serenity
synced 2025-06-28 16:42:12 +00:00
LibWeb: Support displaying HTMLInputElement placeholder values
This adds support for parsing the ::placeholder pseudo-element and injecting an anonymous layout node with that element when the input element's data is empty.
This commit is contained in:
parent
fddbc2e378
commit
4a30446999
5 changed files with 91 additions and 0 deletions
|
@ -66,6 +66,8 @@ public:
|
|||
String value() const;
|
||||
WebIDL::ExceptionOr<void> set_value(String);
|
||||
|
||||
Optional<String> placeholder_value() const;
|
||||
|
||||
bool checked() const { return m_checked; }
|
||||
enum class ChangeSource {
|
||||
Programmatic,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue