Skip to content

Commit

Permalink
change assert type
Browse files Browse the repository at this point in the history
Co-authored-by: Jeffrey Yasskin <[email protected]>
  • Loading branch information
Djuffin and jyasskin authored Sep 11, 2024
1 parent 9b8238a commit 737c7a2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions index.src.html
Original file line number Diff line number Diff line change
Expand Up @@ -4213,8 +4213,7 @@
9. Return |combinedLayout|.

: <dfn>Convert PredefinedColorSpace to VideoColorSpace</dfn> (with |colorSpace|)
:: 1. This algorithm <em class="rfc2119">MUST</em> be called only if |colorSpace|
is equal to one of {{srgb}}, {{display-p3}}.
:: 1. Assert: |colorSpace| is equal to one of {{srgb}} or {{display-p3}}.
2. If |colorSpace| is equal to {{srgb}} return a new instance of the
[=sRGB Color Space=]
3. If |colorSpace| is equal to {{display-p3}} return a new instance of the
Expand Down

0 comments on commit 737c7a2

Please sign in to comment.