-
Notifications
You must be signed in to change notification settings - Fork 75
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
Allow overlapping BCD keys without creating ambiguity #1173
Comments
It looks like |
Rather than having rules that consumers need to handle for this rare situation, it would be good if we can bake the behavior we want into
This would end up having the right effect on https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import at least. |
@captainbrosset I'm not sure. This limitation came at MDN's request. I meet with the MDN folks periodically, so I'm going to talk to them next week and see what blockers, if any, remain from their perspective. I don't think any other consumers care. |
#1164 was caused by
javascript.statements.import
being part of both CSS modules and JS modules. In this situation, looking up a feature by BCD key finds two features, so consumers need something more to determine the status ofjavascript.statements.import
.The
<source>
element is a good illustration of the problem. The<audio>
and<video>
elements aren't yet in web-features, but if we add them, it would make sense for the<source>
element (andHTMLMediaElement
interface) to be part of both features, which shipped at the same time. But the<source>
element is also a part of the<picture>
element which shipped much later. Rather than picking a feature which gets to claim each BCD key, it would be good if overlap was handled gracefully.This also has implications for #979.
The text was updated successfully, but these errors were encountered: