Meta: drop the now-unused toggleStatus() - #12865
Open
zcorpan wants to merge 2 commits into
Open
Conversation
Member
|
This needs a "Meta:" prefix (and then lowercase "drop"). |
wattsi is moving the MDN compatibility tables out of the markup and into a "data-mdn" attribute per panel, built on first open by this script. Part of #12782. The inline `toggleStatus()` stays for now: it is what drives the current `<button>`-based panels, and it has to keep working until the wattsi change has shipped. Removing it is a follow-up.
MDN annotation panels are `<details>` now, so nothing calls this. Note that archived commit snapshots have their own copy baked in and are unaffected. DO NOT LAND until the wattsi change that emits `<details>` panels has shipped and html.spec.whatwg.org has been rebuilt with it; until then this function is what makes the panels open.
zcorpan
force-pushed
the
mdn-anno-drop-togglestatus
branch
from
August 31, 2026 10:07
1985c25 to
675e5ff
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
MDN annotation panels are
<details>now, so nothing calls this. Note thatarchived commit snapshots have their own copy baked in and are unaffected.
DO NOT LAND until the wattsi change that emits
<details>panels has shippedand html.spec.whatwg.org has been rebuilt with it; until then this function
is what makes the panels open.
This is step 4 of whatwg/wattsi#169
Generated by Claude.