Skip to content

Commit

Permalink
Editorial: change style of preload integrity metadata test
Browse files Browse the repository at this point in the history
* It previously had a misplaced "; or" and an extra ";"
* Move from !(A || B) to !A && !B for clarity
  • Loading branch information
domenic committed Jan 17, 2025
1 parent 90720ff commit cd567c7
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -27686,14 +27686,15 @@ document.body.appendChild(wbr);</code></pre>
<span data-x="preload integrity metadata">integrity metadata</span>.</p></li>

<li>
<p>If none of the following conditions apply:</p>
<p>If all of the following are true:</p>

<ul>
<li><p><var>consumerIntegrityMetadata</var> is <code data-x="">no metadata</code>;</p></li>
<li><p><var>consumerIntegrityMetadata</var> is not <code data-x="">no metadata</code>;
and</p></li>

<li>
<p><var>consumerIntegrityMetadata</var> is equal to <var>preloadIntegrityMetadata</var>;
or</p>
<p><var>consumerIntegrityMetadata</var> is not equal to
<var>preloadIntegrityMetadata</var></p>

<p class="XXX">This comparison would ignore unknown integrity options. See <a
href="https://github.com/w3c/webappsec-subresource-integrity/issues/116">issue #116.</a></p>
Expand Down

0 comments on commit cd567c7

Please sign in to comment.