mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 10:48:41 +00:00
LibWeb: Set dirty checkedness flag when setting checked IDL attribute
This matches the behavior of other browsers, which always set the dirty checkedness flag when setting checkedness, except when setting the `checked` content attribute.
This commit is contained in:
committed by
Andreas Kling
parent
c87bc78d5d
commit
5b6f2bb23a
@@ -88,11 +88,7 @@ public:
|
||||
Optional<String> placeholder_value() const;
|
||||
|
||||
bool checked() const { return m_checked; }
|
||||
enum class ChangeSource {
|
||||
Programmatic,
|
||||
User,
|
||||
};
|
||||
void set_checked(bool, ChangeSource = ChangeSource::Programmatic);
|
||||
void set_checked(bool);
|
||||
|
||||
bool checked_binding() const { return checked(); }
|
||||
void set_checked_binding(bool);
|
||||
|
||||
Reference in New Issue
Block a user