mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-29 14:14:45 +03: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
Notes:
sideshowbarker
2024-07-17 21:11:12 +09:00
Author: https://github.com/MacDue Commit: https://github.com/SerenityOS/serenity/commit/a2f3b6543b Pull-request: https://github.com/SerenityOS/serenity/pull/17889
@ -40,7 +40,7 @@ private:
|
||||
HTMLProgressElement(DOM::Document&, DOM::QualifiedName);
|
||||
|
||||
// ^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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user