Skip to content
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

Regularize feature namespaces for CSS, HTML, HTTP, and JavaScript #13804

Closed
ddbeck opened this issue Nov 29, 2021 · 0 comments · Fixed by #17130
Closed

Regularize feature namespaces for CSS, HTML, HTTP, and JavaScript #13804

ddbeck opened this issue Nov 29, 2021 · 0 comments · Fixed by #17130
Labels
data:css 🎨 Compat data for CSS features. https://developer.mozilla.org/docs/Web/CSS data:html 📄 Compat data for HTML elements. https://developer.mozilla.org/docs/Web/HTML data:http 🚠 Compat data for HTTP features. https://developer.mozilla.org/docs/Web/HTTP data:js 📟 Compat data for JS/ECMAScript features. https://developer.mozilla.org/docs/Web/JavaScript help wanted 🆘 You're encouraged to pick up this issue, a maintainer will come back to you and review your work.

Comments

@ddbeck
Copy link
Collaborator

ddbeck commented Nov 29, 2021

Several of BCD's namespaces appear in surprising or incorrect places. This makes it more difficult to consume the data and to determine the type or meaning of the data of the features inside them. We ought to clean them up so that BCD's API is more consistent and easier to reason about between versions.

In general, the name spaces highlighted in the tree below need one of these fixes:

  • A subfeature ought to be promoted to parent feature (e.g., CSS properties where a new flex or grid contexts were added to an existing property) or moved elsewhere (maybe the SVG features?)
  • The name space ought to be squashed onto its children (e.g., http.headers.csp)
  • Feature data ought to be added (e.g., javascript.builtins.Math)

Tree

The bolded namespaces are irregular and need some sort of fix in a new PR.

Similar work needs to be done for SVG and WebExtensions data. However, those are more complicated (it's not clear if content changes must also happen for them), so I didn't include them in the tree above.

@ddbeck ddbeck added help wanted 🆘 You're encouraged to pick up this issue, a maintainer will come back to you and review your work. data:http 🚠 Compat data for HTTP features. https://developer.mozilla.org/docs/Web/HTTP data:css 🎨 Compat data for CSS features. https://developer.mozilla.org/docs/Web/CSS data:js 📟 Compat data for JS/ECMAScript features. https://developer.mozilla.org/docs/Web/JavaScript data:html 📄 Compat data for HTML elements. https://developer.mozilla.org/docs/Web/HTML labels Nov 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:css 🎨 Compat data for CSS features. https://developer.mozilla.org/docs/Web/CSS data:html 📄 Compat data for HTML elements. https://developer.mozilla.org/docs/Web/HTML data:http 🚠 Compat data for HTTP features. https://developer.mozilla.org/docs/Web/HTTP data:js 📟 Compat data for JS/ECMAScript features. https://developer.mozilla.org/docs/Web/JavaScript help wanted 🆘 You're encouraged to pick up this issue, a maintainer will come back to you and review your work.
Projects
Status: Done
1 participant