mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 18:17:22 +02:00
LibWeb: Add initial implementation of foreign content parsing
Plus sneak in a FIXME for the list of active formatting elements and a test for Element.namespaceURI
This commit is contained in:
Notes:
sideshowbarker
2024-07-19 01:48:41 +09:00
Author: https://github.com/Lubrsi Commit: https://github.com/SerenityOS/serenity/commit/4e8cb4558b1 Pull-request: https://github.com/SerenityOS/serenity/pull/3748
@@ -127,7 +127,7 @@ DOM::Element* StackOfOpenElements::topmost_special_node_below(const DOM::Element
|
||||
auto& element = m_elements[i];
|
||||
if (&element == &formatting_element)
|
||||
break;
|
||||
if (HTMLDocumentParser::is_special_tag(element.local_name()))
|
||||
if (HTMLDocumentParser::is_special_tag(element.local_name(), element.namespace_()))
|
||||
found_element = &element;
|
||||
}
|
||||
return found_element;
|
||||
|
||||
Reference in New Issue
Block a user