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

[BUG] The partial_implementation field is not taken into account #1141

Closed
bramus opened this issue Feb 6, 2025 · 4 comments
Closed

[BUG] The partial_implementation field is not taken into account #1141

bramus opened this issue Feb 6, 2025 · 4 comments
Labels
bug Something isn't working

Comments

@bramus
Copy link
Member

bramus commented Feb 6, 2025

This is a follow-up to #996 about popover that was Baseline, but then not, but now is.

The reason why the feature was initially considered to be Baseline is because the partial_implementation field was ignored.

Before mdn/browser-compat-data#25787 which marks the features a included in Safari iOS 18.3, the data looked like this:

            "safari_ios": {
              "version_added": "17",
              "partial_implementation": true,
              "notes": "On iOS and iPadOS, popovers are not dismissed when the user taps outside of the popover area, see [bug 267688](https://webkit.org/b/267688)."
            },

Had the partial_implementation field been taken into account, the feature would never have been marked as Baseline Newly Available.

@bramus bramus added the bug Something isn't working label Feb 6, 2025
@jcscottiii
Copy link
Collaborator

Thanks for calling that out.

The calculation for baseline happens in https://github.com/web-platform-dx/web-features. Here's the file specifically for popover. We just read the compiled data from there.

https://github.com/web-platform-dx/web-features/tree/b44c75ca30a98706bcfbc61225b51fde3c5b4db5/packages/compute-baseline

Could you make the issue there?

@ddbeck I see there is a check for partial implementation in the Web features code. But do you know what happened?

@jcscottiii
Copy link
Collaborator

jcscottiii commented Feb 6, 2025

Also, we have another issue about popover specifically here. That may have some more context for you @bramus

@bramus
Copy link
Member Author

bramus commented Feb 7, 2025

Thanks for the extra info. I have left a reply on web-platform-dx/web-features#915 which I think deals with this.

@ddbeck
Copy link

ddbeck commented Feb 7, 2025

@jcscottiii Thanks for mentioning me on this. I've taken this up in the web-features conversation, but in case anyone else comes across this here and wants the summary:

The computation in web-features is correct, but the underlying information in browser compat data changed over time, first correcting a mistake (showing full support) then later reflecting the fix in Safari.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

3 participants