Skip to content

Query by a Media Type feels inconsistent #36

@hamishwillee

Description

@hamishwillee
  1. Need to run a general spell check. In "W3C Working Draft, 15 September 2022", there are three (incorrect) instances of "asscociated"

  2. Doc in 2.2.1. Query by a Media Type feel's inconsistent.

    • getAutoplayPolicy(type) methods return the rough status - so it's like "probably this is the status for all elements, but if you really care you need to check".

    • But below it uses the word "MUST"

      When getAutoplayPolicy(type) method is called, the user agent MUST run the following steps ...

      followed by (for example):

      If the return value is disallowed, None of media, corresponding with the given type, are allowed to autoplay.

    Those two cases seem mutually exclusive - if "must" is true then it isn't "rough".

  3. Note that the "rough" only seems to apply for the disallowed case. My assumption is that if you get allowed or allowed-muted you can trust the value for the specified type. However the policy would be set to disallowed if, for example, some media were allowed and others were not, for whatever reason. Is that correct?

The context for this is that I'm writing MDN docs for this. It is not clear to me how the result for a type is useful if you can't trust it, so I'm trying to work out if you can ever trust it for any of the returned values.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions