-
Notifications
You must be signed in to change notification settings - Fork 17
Diff output for HTML standard broken #66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
There seems to be a number of JS files that aren't pulled in properly. Not too sure what the issue is, here. How recent is that issue? |
According to IRC reports it's recentish. Also note how before the inline script is closed you get |
Hey @dontcallmedom, anything changed in the way services.w3.org/htmldiff appends its CSS and JS libs? It seems broken here. |
If the links below https://services.w3.org/htmldiff are accurate there have been no recent changes that could have caused this I think. We did change something in I suspect it's that and the Perl script just handles our HTML badly or something like that. |
no recent change in htmldiff; the parsing algorithm used by the tool to insert the style and script are pretty fragile, so I'm guessing it's not happy with the recent change @annevk mentioned |
@dontcallmedom I created whatwg/html#5629 and that is indeed what is going on. You can see https://whatpr.org/html/5629/acknowledgements.html as an input to the diff and https://whatpr.org/html/5629/78ba017...66dd925/acknowledgements.html as the mangled output. So this means that the end of our "head section" is marked with |
@annevk I think this is fixed – our server was using an obsolete version of htmldiff.pl |
@gosko thank you, that was indeed the problem. It's still a bit weird that the DOCTYPE ends up being stripped. I filed w3c/htmldiff-ui#4 on that. I'm also a little uncomfortable with pulling in a third-party script, but I guess that's okay for now as this is all on a separate domain anyway. |
Filed a new issue to make it more clear who to file an issue with when you're encountering a problem with a particular service: #71. |
At the top I see:
Note how various things end up nested inside a
script
element somehow. The document is also in quirks mode.Could this be because we made a change to this header at some point to have more external style sheets?
whatwg/html#5600
cc @domenic @tobie
The text was updated successfully, but these errors were encountered: