fune/testing/web-platform/meta/html/syntax/parsing
Michael[tm] Smith d76dfd530f Bug 1541846 - Ensure namespace-aware “clear the stack” handling r=smaug
This change ensures that for all cases with spec requirements in the
form “clear the stack back to a foo context” — which involves checking
for elements with particular names — we only look for elements in the
HTML namespace, rather than additionally looking for elements which
aren’t in the HTML namespace but that also have those particular names.

Otherwise, without this change, we aren’t in conformance with the spec
requirements, and we fail several cases in the html5lib-tests suite.

Fixes https://github.com/validator/htmlparser/issues/33

Differential Revision: https://phabricator.services.mozilla.com/D122722
2021-08-17 12:02:13 +00:00
..
__dir__.ini
DOMContentLoaded-defer.html.ini
html5lib_innerHTML_foreign-fragment.html.ini
html5lib_tests7.html.ini
html5lib_tests15.html.ini
html5lib_tests16.html.ini
html5lib_tests19.html.ini
html5lib_tests25.html.ini
html5lib_tricky01.html.ini
html5lib_webkit01.html.ini
html_content_in_foreign_context.html.ini