html5lib / html5lib-tests

Testsuite data for html5lib, including the de-facto standard HTML parsing tests.
MIT License
188 stars 61 forks source link

Add testcase: Incorrectly opened comment in script data #169

Open untitaker opened 1 year ago

untitaker commented 1 year ago

lol-html fails this testcase because its "tokenizer" aims to be too smart and infers state change based on script data. It's a problem with their test harness because they run the wrong layer of abstraction IMO.

I just sort of winged the line/col information, it would be good to get those CI PRs merged so there's some sanity checks.

untitaker commented 11 months ago

@fb55 i see this testcase does not pass for parse5, but i think it should

fb55 commented 11 months ago

Test case makes sense to me, seems to be an issue in parse5