mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 15:48:12 +00:00
LibWeb: Handle an error condition for "a" start tag during "in body"
If we have an <a> element on the list of active formatting elements when hitting another "a" start tag, that's a parse error. Recover by using the AAA.
This commit is contained in:
parent
c8e0426ab9
commit
b9d5d45eff
2 changed files with 8 additions and 2 deletions
|
@ -57,6 +57,7 @@ public:
|
|||
bool contains(const Element&) const;
|
||||
|
||||
const NonnullRefPtrVector<Element>& elements() const { return m_elements; }
|
||||
NonnullRefPtrVector<Element>& elements() { return m_elements; }
|
||||
|
||||
void pop_until_an_element_with_tag_name_has_been_popped(const FlyString&);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue