diff options
Diffstat (limited to 'Libraries/LibWeb/Parser/ListOfActiveFormattingElements.cpp')
-rw-r--r-- | Libraries/LibWeb/Parser/ListOfActiveFormattingElements.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibWeb/Parser/ListOfActiveFormattingElements.cpp b/Libraries/LibWeb/Parser/ListOfActiveFormattingElements.cpp index 3a52bd6757..6ec79cbae9 100644 --- a/Libraries/LibWeb/Parser/ListOfActiveFormattingElements.cpp +++ b/Libraries/LibWeb/Parser/ListOfActiveFormattingElements.cpp @@ -58,7 +58,7 @@ Element* ListOfActiveFormattingElements::last_element_with_tag_name_before_marke auto& entry = m_entries[i]; if (entry.is_marker()) return nullptr; - if (entry.element->tag_name() == tag_name) + if (entry.element->local_name() == tag_name) return entry.element; } return nullptr; |