Skip to content

Commit

Permalink
[css-color-4] tidy up a couple of examples
Browse files Browse the repository at this point in the history
  • Loading branch information
svgeesus committed Oct 29, 2020
1 parent b77c58b commit 8ca0c84
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions css-color-4/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -468,10 +468,10 @@ Resolving <<color>> Values</h3>
and defaulting to opaque if unspecified).

<div class="example" id="ex-lch-computed">
<p>For example, </p>
<p>For example, the computed value of</p>
<pre class="lang-css"><span class="swatch" style="--color: rgb(77.61% 36.34% 2.45%)"></span> lch(52.2345% 72.2 56.2 / 1)</pre>
<p>would serialize as the string </p>
<pre class="lang-css"><span class="swatch" style="--color: rgb(77.61% 36.34% 2.45%)"></span> "lab(52.2345% 40.1645 59.9971)"</pre>
<p>is</p>
<pre class="lang-css"><span class="swatch" style="--color: rgb(77.61% 36.34% 2.45%)"></span> lab(52.235% 40.165 59.997)</pre>
</div>

<h4 id="resolving-color-function-values">Resolving values of the ''color()'' function</h4>
Expand All @@ -483,10 +483,10 @@ Resolving <<color>> Values</h3>
and defaulting to opaque if unspecified).

<div class="example" id="ex-p3-computed">
<p>For example,</p>
<p>For example, the computed value of</p>
<pre class="lang-css"><span class="swatch" style="--color: goldenrod"></span> color(display-p3 0.823 0.6554 0.2537 /1)</pre>
<p>is</p>
<pre class="lang-css"><span class="swatch" style="--color: goldenrod"></span> color(display-p3 0.823 0.6554 0.2537)</pre>
<p>would serialize as the string</p>
<pre class="lang-css"><span class="swatch" style="--color: goldenrod"></span> "color(display-p3 0.823 0.6554 0.2537)"</pre>
</div>

<h4 id="resolving-device-cmyk-values">Resolving ''device-cmyk'' values</h4>
Expand Down

0 comments on commit 8ca0c84

Please sign in to comment.