[whatwg/webidl] pp-webidl fails on Review Drafts (Issue #1195)

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
```js
document.querySelector("div[data-fill-with=\"grammar-index\"]").innerHTML = wrap(output);
```
failing due to that `div` element no longer being present. This is happening to several other similar `div` 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:

* https://webidl.spec.whatwg.org/review-drafts/2022-03/
* https://webidl.spec.whatwg.org/commit-snapshots/e5afaf75c697ef14df26a2fe4557fb789ac60b49/

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.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/webidl/issues/1195
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/webidl/issues/1195@github.com>

Received on Wednesday, 21 September 2022 09:53:11 UTC