-
Notifications
You must be signed in to change notification settings - Fork 200
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
Wrong ordering of stylesheets: W3C TR style sheet must be last #2242
Comments
The rule existed in Pubrules for a long time, but the check was loose before. It's fixed now and would report an error to documents with custom styles. To fix this issue, please insert the custom style before the W3C stylesheet, so that the W3C stylesheet doesn't get overlayed. @tabatkins Good:
|
@jennyliang220, the code you quoted runs if Prepare for TR is set. Could it be that Echidna no longer sets that flag for some reason? (or never set it but that went unnoticed?) If I add "Prepare for TR: yes" to the metadata locally, that seems to fix the issue in particular. I don't think that we should require all spec authors to add that directive themselves. That said, having the same ordering of stylesheets in Editor's Drafts and in TR documents could be a good thing to have, as this may create hard to spot cascading implications (an editor who defines custom styles in an ED would expect these styles to run equally well in the TR version). |
Looking at it again, Echidna is not where the problem lies. It's rather the spec-prod action that should set the setting (similar to the way the I created an issue against spec-prod (see w3c/spec-prod#128) and am closing this issue as Bikeshed works as intended. |
Yes, echidna should That said, I was also promised that changes to PubRules like this would be announced ahead of time so that sudden "nobody can publish with Bikeshed" issues like this wouldn't happen again, after the Process 2021 debacle. @plehegar ? |
Yes. It is becoming an increasing problem that a spec which was published a year ago, a month ago, a week ago will now no longer publish because un-discussed and un-announced changes to pubrules are only discovered by the editors or staff contacts when a publication fails. |
The latest version of the Pubrules checker (v6.1.4), released last week, seems to check the W3C TR style sheet must be last rule more thoroughly, and now chokes on
<style>
tags that Bikeshed puts after the link to the W3C TR style sheet (both those added by default and custom styles that authors may choose to add).One example that passed PubRules last week but no longer does is https://www.w3.org/pubrules/?url=https://www.w3.org/TR/2022/WD-webgpu-20220303/&profile=auto
The text was updated successfully, but these errors were encountered: