-
Notifications
You must be signed in to change notification settings - Fork 6
Description
-
Need to run a general spell check. In "W3C Working Draft, 15 September 2022", there are three (incorrect) instances of "asscociated"
-
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".
-
-
Note that the "rough" only seems to apply for the disallowed case. My assumption is that if you get
allowedorallowed-mutedyou can trust the value for the specified type. However the policy would be set todisallowedif, 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.