LibWeb: Look at both namespace & tag name in HTML parser stack checks

We were neglecting to check the namespace when looking for a specific
type of element on the stack of open elements in many cases.

This caused us to confuse HTML and SVG elements.
This commit is contained in:
Andreas Kling
2024-11-04 17:14:25 +01:00
committed by Andreas Kling
parent 7d7f8f1b48
commit ceedfb34d2
Notes: github-actions[bot] 2024-11-05 11:30:21 +00:00
4 changed files with 24 additions and 18 deletions

View File

@@ -6,6 +6,6 @@ Rerun
Found 1 tests
1 Fail
1 Pass
Details
Result Test Name MessageFail html5lib_namespace-sensitivity.html de0a2051123e97a540e3aeb58375103bda021122
Result Test Name MessagePass html5lib_namespace-sensitivity.html de0a2051123e97a540e3aeb58375103bda021122