Skip to content

Commit a2f3b65

Browse files
MacDueawesomekling
authored andcommitted
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>().
1 parent 8bba53b commit a2f3b65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Userland/Libraries/LibWeb/HTML/HTMLProgressElement.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class HTMLProgressElement final : public HTMLElement {
4040
HTMLProgressElement(DOM::Document&, DOM::QualifiedName);
4141

4242
// ^DOM::Node
43-
virtual bool is_html_input_element() const final { return true; }
43+
virtual bool is_html_progress_element() const final { return true; }
4444

4545
virtual JS::ThrowCompletionOr<void> initialize(JS::Realm&) override;
4646

0 commit comments

Comments
 (0)