Skip to content

Meta: load standard-mdn-annos.js for the MDN annotation panels - #12864

Open
zcorpan wants to merge 1 commit into
mainfrom
mdn-anno-hydration
Open

Meta: load standard-mdn-annos.js for the MDN annotation panels#12864
zcorpan wants to merge 1 commit into
mainfrom
mdn-anno-hydration

Conversation

@zcorpan

@zcorpan zcorpan commented Aug 31, 2026

Copy link
Copy Markdown
Member

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 -based panels, and it has to keep working until the wattsi change has shipped. Removing it is a follow-up.


This is step 2 of whatwg/wattsi#169

Generated by Claude.

@zcorpan zcorpan added spec tooling do not merge yet Pull request must not be merged per rationale in comment labels Aug 31, 2026
@zcorpan zcorpan mentioned this pull request Aug 31, 2026
7 tasks
@annevk

annevk commented Aug 31, 2026

Copy link
Copy Markdown
Member

This needs a Meta: prefix (and then lowercase "load").

@zcorpan zcorpan changed the title Load standard-mdn-annos.js for the MDN annotation panels Meta: load standard-mdn-annos.js for the MDN annotation panels Aug 31, 2026
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.
@zcorpan
zcorpan force-pushed the mdn-anno-hydration branch from 0d7f600 to 0501f24 Compare August 31, 2026 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do not merge yet Pull request must not be merged per rationale in comment spec tooling

Development

Successfully merging this pull request may close these issues.

2 participants