Skip to content

Commit 7456d31

Browse files
mathiasbynensemilio
authored andcommitted
[cssom-1] Improve accuracy of <color> serialization
1 parent 3c1f750 commit 7456d31

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

cssom-1/Overview.bs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2603,19 +2603,19 @@ depends on the component, as follows:
26032603
<li>The string "<code>rgb(</code>".
26042604
<li>The shortest base-ten integer serialization of the color's red component.
26052605
<li>The string "<code>, </code>".
2606-
<li>The shortest base-ten serialization of the color's green component.
2606+
<li>The shortest base-ten integer serialization of the color's green component.
26072607
<li>The string "<code>, </code>".
2608-
<li>The shortest base-ten serialization of the color's blue component.
2608+
<li>The shortest base-ten integer serialization of the color's blue component.
26092609
<li>The string "<code>)</code>".
26102610
</ol>
26112611
The serialization of the <code>rgba()</code> functional equivalent is the concatenation of the following:
26122612
<ol>
26132613
<li>The string "<code>rgba(</code>".
2614-
<li>The shortest base-ten serialization of the color's red component.
2614+
<li>The shortest base-ten integer serialization of the color's red component.
26152615
<li>The string "<code>, </code>".
2616-
<li>The shortest base-ten serialization of the color's green component.
2616+
<li>The shortest base-ten integer serialization of the color's green component.
26172617
<li>The string "<code>, </code>".
2618-
<li>The shortest base-ten serialization of the color's blue component.
2618+
<li>The shortest base-ten integer serialization of the color's blue component.
26192619
<li>The string "<code>, </code>".
26202620
<li>The serialization of the color's alpha component as an &lt;alphavalue>.
26212621
<li>The string "<code>)</code>".

0 commit comments

Comments
 (0)