mirror of
https://github.com/RGBCube/serenity
synced 2025-05-15 11:24:58 +00: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:
parent
e8a9e8aed5
commit
4e8cb4558b
8 changed files with 304 additions and 106 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue