-
Notifications
You must be signed in to change notification settings - Fork 160
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
pp-webidl fails on Review Drafts #1195
Comments
Yes, it's a result of
Notably, it prevents or removes highlighting, a few other assorted "human-readability" effects, and also removes all of the |
Makes sense; thanks for debugging for us, Tab! I think we should be able to find an alternate way of identifying the div we need to manipulate, even in the slim version... I can give it a try next week when I'm back from vacation. |
Note that it's not a single |
LMK how I can help. I've also added a bunch of you to that repo to lower the bus factor. |
I have a fix. Basically we'll just stop using I'll work on a couple PRs. |
Closes #1195 by using a new attribute, grammar-fill-with="", which won't get removed by Bikeshed's "slim build artifact" setting.
We're running into a subtle issue with Review Drafts. This first surfaced in #1194 but also affects the prior RD. Due to various settings in Bikeshed the resulting HTML ends up differing slightly between LS and RD which causes the JS to trip.
The simplest of these is probably
failing due to that
div
element no longer being present. This is happening to several other similardiv
elements as well, but those end up failing silently. The result though is that various grammar productions do not end up in the final copy of the standard.@tabatkins do you know what could cause this? I looked a bit at
slimBuildArtifact
in Bikeshed and various other settings, but nothing really jumped out to me.For debugging, you can compare:
You can find the script at
<script class="remove">
in the source of the first one as it essentially failed server-side when generating the draft.The text was updated successfully, but these errors were encountered: