Open Bug 1541853 Opened 7 months ago Updated 6 months ago

Implement relaxations to errors in the HTML comment syntax

Categories

(Core :: HTML: Parser, defect, P2)

defect

Tracking

()

People

(Reporter: hsivonen, Unassigned)

Details

Review https://searchfox.org/whatwg-html/diff/518d16fdc672d1023dcfd2847d86f559d13a842f/source#101939 and remove some error reporting (visible in View Source).

Severity: minor → normal
Priority: -- → P2

Note that this has already been implemented in the fork of the HTML parser at https://github.com/validator/htmlparser

See https://github.com/validator/htmlparser/commit/4be6499

Type: defect → enhancement

This isn’t technically an enhancement. The relaxations to errors in the HTML comment syntax are necessary for conformance to the current normative requirements in the HTML spec. Without the relaxations, the HTML parser is not in conformance with the spec requirements.

ok, thanks, it wasn't super clear from the desc & title :)

Type: enhancement → defect
You need to log in before you can comment on or make changes to this bug.