-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Description
What type of issue is this?
Other
What information was incorrect, unhelpful, or incomplete?
I have been working on this table https://potahtml.github.io/namespace-jsx-project/index.html It's a mash-up of frameworks namespace JSX, browser setters (chrome, firefox), vscode html LSP, and MDN
The data from MDN is missing some information:
- Missing deprecations
For example: When reading èlement.json such for style to be https://github.com/mdn/browser-compat-data/blob/main/html/elements/style.json then attribute scoped is missing in the JSON. I can somewhat confirm its deprecated because theres a note here (CTRL+F for "scoped") https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes
The list of attributes I could confirm that are deprecated but missing in $element.json are the following:
// deprecated https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes
'img.HTMLImageElement.intrinsicsize': true,
// deprecated https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#bgcolor
'col.HTMLTableColElement.bgcolor': true,
// deprecated https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup#bgcolor
'colgroup.HTMLTableColElement.bgcolor': true,
// deprecated https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script#language
'script.HTMLScriptElement.language': true,
// deprecated https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#accept
'form.HTMLFormElement.accept': true,
// SVG
// deprecated https://developer.mozilla.org/en-US/docs/Web/API/SVGStyleElement
'style.SVGStyleElement.type': true,
// MATHML
// deprecated https://developer.mozilla.org/en-US/docs/Web/MathML/Element/annotation-xml
'annotation-xml.MathMLElement.src': true,
// deprecated https://developer.mozilla.org/en-US/docs/Web/MathML/Element/annotation
'annotation.MathMLElement.src': true,
// deprecated https://developer.mozilla.org/en-US/docs/Web/MathML/Element/ms
'ms.MathMLElement.lquote': true,
'ms.MathMLElement.rquote': true,
// legacy deprecated https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mstyle
'mstyle.MathMLElement.scriptminsize': true,
'mstyle.MathMLElement.scriptsizemultiplier': true,
// deprecated https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes
'style.HTMLStyleElement.scoped': true,
'style.SVGStyleElement.scoped': true,
- Missing information
I couldn't find information about the following attributes, but I am pretty sure these are deprecated/obsolete.
// not found in mdn
'iframe.HTMLIFrameElement.allowtransparency': true,
about the following, I am not that sure any more, but I suppose I have found these are deprecated
'iframe.HTMLIFrameElement.seamless': true,
'object.HTMLObjectElement.typemustmatch': true,
'menu.HTMLMenuElement.label': true,
'menu.HTMLMenuElement.type': true,
- Missing Tags
I couldnt find a $element.json file for the following tags. There are other deprecated tags such frameset.json. So I suppose it would be only consistent to add them, maybe.
'applet',
'basefont',
'bgsound',
'blink',
'listing',
'isindex',
'keygen',
'menuitem',
'multicol',
'nextid',
'noindex',
'spacer',
'content',
'portal',
'image',
'imagee',
'shadow',
- The following have the experimental bit set, but I am not convinced these are still experimental
a.SVGAElement.ping
script.SVGScriptElement.async
script.SVGScriptElement.defer
What browsers does this problem apply to, if applicable?
No response
What did you expect to see?
Did you test this? If so, how?
Can you link to any release notes, bugs, pull requests, or MDN pages related to this?
No response
Do you have anything more you want to share?
No response
MDN URL
No response
MDN metadata
No response