mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-28 12:18:25 +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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user