gecko-dev/parser
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
..
expat Bug 1679522 - Fix include directives and forward declarations. r=andi,necko-reviewers,jgilbert 2021-03-25 10:19:44 +00:00
html Bug 1541846 - Ensure namespace-aware “clear the stack” handling r=smaug 2021-08-17 12:02:13 +00:00
htmlparser Bug 1650087 test - Optional table part end tags before template close should not be flagged as errors. r=smaug 2021-08-16 11:10:19 +00:00
prototype Bug 1721153 - Remove unused aListener and aMode arguments of nsIParser::Parse. r=hsivonen 2021-08-12 14:11:38 +00:00
xml Bug 1691621 - fix bad cast r=emilio 2021-02-10 12:36:59 +00:00
moz.build Bug 1654103: Standardize on Black for Python code in mozilla-central. 2020-10-26 18:34:53 +00:00
nsCharsetSource.h Bug 1713627 - Remove code obsoleted by the replacing the Text Encoding menu with one item. r=jaws,emk 2021-06-21 12:09:01 +00:00