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

Issue with "Audio()": browser compatibility table does not show ≤ symbol for WebView Android #10899

Closed
MikeDimmickMnetics opened this issue Dec 1, 2021 · 2 comments
Labels
needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened.

Comments

@MikeDimmickMnetics
Copy link

MDN URL: https://developer.mozilla.org/en-US/docs/Web/API/HTMLAudioElement/Audio

What information was incorrect, unhelpful, or incomplete?

The Browser Compatibility table shows '37' in the WebView Android cell. However, the underlying compatibility data (https://github.com/mdn/browser-compat-data/blob/53fe3ff177ec0b9cbe5cecbd8c7705d884865eb0/api/HTMLAudioElement.json#L41) has:

"webview_android": {
    "version_added": "≤37"
}

A change was made to change every webview_android with version_added of "1" to "≤37", as it had previously been assumed that anything in Chrome 1.0 was in WebView Android 1.0, but this was not felt to be a safe assumption (mdn/browser-compat-data#10589)

Specific section or headline?

Browser compatibility table.

What did you expect to see?

The WebView Android cell should show '≤37' to indicate the uncertainty. In general, where the compatibility data has a ≤ symbol, this should be displayed in the resulting page.

Did you test this? If so, how?

This is an issue of compatibility data not being displayed correctly, rather than errors in the description of the API.

MDN Content page report details
@github-actions github-actions bot added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Dec 1, 2021
@AnilSeervi
Copy link
Contributor

BCD ranges are treated as exact versions to avoid confusion for the reader
See mdn/yari#3238

Here's the code that removes from the versions - https://github.com/mdn/yari/blob/main/client/src/document/ingredients/browser-compatibility-table/feature-row.tsx#L111-L113

@hamishwillee
Copy link
Collaborator

Closing, as on that basis this is intentional behaviour. Note that it will become less of a concern - most of the web platform now states actual values for starting versions, and this continues to improve.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 3, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened.
Projects
None yet
Development

No branches or pull requests

3 participants