mirror of
https://github.com/RGBCube/serenity
synced 2025-05-30 22:48:11 +00:00
LibWeb: Fix is<HTML::HTMLProgressElement>() check
Previously HTMLProgressElement implemented is_html_input_element() not is_html_progress_element(), so is_html_progress_element() defaulted to always returning false. This broke is<HTML::HTMLProgressElement>().
This commit is contained in:
parent
8bba53bdff
commit
a2f3b6543b
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ private:
|
||||||
HTMLProgressElement(DOM::Document&, DOM::QualifiedName);
|
HTMLProgressElement(DOM::Document&, DOM::QualifiedName);
|
||||||
|
|
||||||
// ^DOM::Node
|
// ^DOM::Node
|
||||||
virtual bool is_html_input_element() const final { return true; }
|
virtual bool is_html_progress_element() const final { return true; }
|
||||||
|
|
||||||
virtual JS::ThrowCompletionOr<void> initialize(JS::Realm&) override;
|
virtual JS::ThrowCompletionOr<void> initialize(JS::Realm&) override;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue