diff --git a/index.bs b/index.bs index 16fd5e6..7c7b075 100644 --- a/index.bs +++ b/index.bs @@ -912,48 +912,43 @@ spec: encrypted-media-draft; for: EME; urlPrefix: https://w3c.github.io/encrypte
  • - Otherwise: + If |mediaType| is audio and |mimeType|'s [=MIME type/type=] + per [[RFC9110]] is neither audio nor application, + return false. +
  • +
  • + If |mediaType| is video and |mimeType|'s [=MIME type/type=] + per [[RFC9110]] is neither video nor application, + return false. +
  • +
  • + If the combined type and subtype members + of |mimeType| imply a single media codec:
    1. - If |mediaType| is audio and |mimeType|'s [=MIME type/type=] - per [[RFC9110]] is neither audio nor application, - return false. + If the parameters member of |mimeType| + is not empty, return failure.
    2. - If |mediaType| is video and |mimeType|'s [=MIME type/type=] - per [[RFC9110]] is neither video nor application, - return false. + Return whether |mimeType| is [=supported by the user agent=].
    3. +
    +
  • +
  • + Otherwise: +
    1. - If the combined type and subtype members - of |mimeType| imply a single media codec: -
        -
      1. - If the parameters member of |mimeType| - is not empty, return failure. -
      2. -
      3. - Return whether |mimeType| is [=supported by the user agent=]. -
      4. -
      + If the parameters member of |mimeType| + does not contain a single key named "codecs", return + false.
    2. - Otherwise: -
        -
      1. - If the parameters member of |mimeType| - does not contain a single key named "codecs", return - false. -
      2. -
      3. - If the value of mimeType.parameters["codecs"] - does not describe a single media codec, return - false. -
      4. -
      5. - Return whether |mimeType| is [=supported by the user agent=]. -
      6. -
      + If the value of mimeType.parameters["codecs"] + does not describe a single media codec, return + false. +
    3. +
    4. + Return whether |mimeType| is [=supported by the user agent=].