Skip to content

Commit

Permalink
Add convert links
Browse files Browse the repository at this point in the history
  • Loading branch information
youennf committed Sep 29, 2024
1 parent 6224a4b commit 59e9874
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1239,15 +1239,15 @@ user agent MUST run the following steps:
<code>undefined</code>, run the following steps:
<ol>
<li>
Let <var>frozenArtwork</var> be a Javascript Array value.
Let <var>frozenArtwork</var> be a JavaScript Array value.
</li>
<li>
For each <var>entry</var> in the {{MediaMetadata}}'s <a
for="MediaMetadata">artwork images</a>, perform the following steps:
<ol>
<li>
Convert <var>entry</var> into a Javascript object named
<var>image</var>.
Let <var>image</var> be the result of [=converted to a JavaScript
value|converting=] <var>entry</var> into a JavaScript object.
</li>
<li>
Perform [=!=] <a
Expand Down Expand Up @@ -1277,13 +1277,14 @@ user agent MUST run the following steps:
On setting, it MUST run the following steps:
<ol>
<li>
Let <var>convertedArtwork</var> be the result of converting the new value
Let <var>convertedArtwork</var> be the result of [=converted to an IDL
value|converting=] the new value
<var>input</var> into a sequence of type {{MediaImage}}.
</li>
<li>
Run <a>convert artwork algorithm</a> with the converted sequence as
<var>input</var>, and set the {{MediaMetadata}}'s
<a for="MediaMetadata">artwork images</a> as the result if it succeeds.
Run <a>convert artwork algorithm</a> with <var>convertedArtwork</var>, and
set the {{MediaMetadata}}'s <a for="MediaMetadata">artwork images</a> as
the result if it succeeds.
</li>
<li>
Set the {{MediaMetadata}}'s <a>converted artwork images</a> to
Expand Down

0 comments on commit 59e9874

Please sign in to comment.