mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 10:48:41 +00:00
LibWeb: Implement :enabled and :disabled pseudo classes to spec
Previously we only considered an element disabled if it was an <input> element with the disabled attribute, but there's way more elements that apply with more nuanced disabled/enabled rules.
This commit is contained in:
committed by
Andreas Kling
parent
c85fcd442f
commit
2133b7d58a
@@ -28,6 +28,8 @@ public:
|
||||
|
||||
int index() const;
|
||||
|
||||
bool disabled() const;
|
||||
|
||||
private:
|
||||
friend class Bindings::OptionConstructor;
|
||||
friend class HTMLSelectElement;
|
||||
|
||||
Reference in New Issue
Block a user