Open zcorpan opened 7 years ago
The HTML parser doesn't emit parse errors, to my knowledge. I'll ping gsnedders and see if there's anything I can do, as I would like to help catch markup problems like this.
According to gsnedders, the parser does expose parse errors, but they're not kept up-to-date with the spec. I can still try to expose them as warnings in Bikeshed. What do you think?
Warning is better than nothing, but why not error? If someone is annoyed about something being a non-error per spec but is an error in html5lib, we can fix html5lib.
Given the explicit "not maintaining that part" opinion right now, I'm not happy to make it a fatal error. If y'all decide to actively maintain it, I'll change my opinion. ^_^
Fair enough. :-)
In https://github.com/w3c/webvtt/pull/317 I accidentally forgot an
</a>
tag, but bikeshed did not complain about this at all. The generated HTML also passes conformance checking; the output is:I think bikeshed should give an error when the HTML parser gives a parse error, to catch mistakes like this.
@tabatkins