Skip to content

Commit e4fd689

Browse files
committed
[cssom] editorial improvement; spell out composition of color function delimiter string
1 parent fba7178 commit e4fd689

2 files changed

Lines changed: 20 additions & 16 deletions

File tree

cssom/Overview.html

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ <h1 id="cssom">CSS Object Model (CSSOM)</h1>
1818

1919
<!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
2020

21-
<h2 class="no-num no-toc" id="w3c-doctype">Editor's Draft 1 October 2012</h2>
21+
<h2 class="no-num no-toc" id="w3c-doctype">Editor's Draft 2 October 2012</h2>
2222

2323
<dl>
2424

@@ -83,7 +83,7 @@ <h2 class="no-num no-toc" id="sotd">Status of this Document</h2>
8383
can be found in the
8484
<a href="http://www.w3.org/TR/">W3C technical reports index at http://www.w3.org/TR/.</a></em>
8585

86-
<p class="dontpublish">This is the 1 October 2012 Editor's Draft of CSSOM. Please send comments to
86+
<p class="dontpublish">This is the 2 October 2012 Editor's Draft of CSSOM. Please send comments to
8787
<a href="mailto:www-style@w3.org?subject=%5Bcssom%5D%20">www-style@w3.org</a>
8888
(<a href="http://lists.w3.org/Archives/Public/www-style/">archived</a>)
8989
with <samp>[cssom]</samp> at the start of the subject line.
@@ -2085,26 +2085,28 @@ <h4 id="serializing-css-values"><span class="secno">6.6.2 </span>Serializing CSS
20852085
<p>The serialization of the <code>rgb()</code> functional equivalent is the concatenation of the following:</p>
20862086
<ol>
20872087
<li>The string "<code>rgb(</code>".</li>
2088-
<li>The shortest base-ten integer serialization of the red value.</li>
2088+
<li>The shortest base-ten integer serialization of the color's red component.</li>
20892089
<li>The string "<code>, </code>".</li>
2090-
<li>The shortest base-ten serialization of the green value.</li>
2090+
<li>The shortest base-ten serialization of the color's green component.</li>
20912091
<li>The string "<code>, </code>".</li>
2092-
<li>The shortest base-ten serialization of the blue value.</li>
2092+
<li>The shortest base-ten serialization of the color's blue component.</li>
20932093
<li>The string "<code>)</code>".</li>
20942094
</ol>
20952095
<p>The serialization of the <code>rgba()</code> functional equivalent is the concatenation of the following:</p>
20962096
<ol>
20972097
<li>The string "<code>rgba(</code>".</li>
2098-
<li>The shortest base-ten serialization of the red value.</li>
2098+
<li>The shortest base-ten serialization of the color's red component.</li>
20992099
<li>The string "<code>, </code>".</li>
2100-
<li>The shortest base-ten serialization of the green value.</li>
2100+
<li>The shortest base-ten serialization of the color's green component.</li>
21012101
<li>The string "<code>, </code>".</li>
2102-
<li>The shortest base-ten serialization of the blue value.</li>
2102+
<li>The shortest base-ten serialization of the color's blue component.</li>
21032103
<li>The string "<code>, </code>".</li>
2104-
<li>The shortest serialization of the &lt;number&gt; that denotes the alpha value.</li>
2104+
<li>The shortest serialization of the &lt;number&gt; that denotes the color's alpha component.</li>
21052105
<li>The string "<code>)</code>".</li>
21062106
</ol>
21072107

2108+
<p>In the above rules, the string "<code>, </code>" denotes a COMMA (U+002C) followed by a single SPACE (U+0020).</p>
2109+
21082110
<p>If &lt;color&gt; is a component of a specified value, then
21092111
return the color as follows:</p>
21102112
<ol>

cssom/cssom-source

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1641,26 +1641,28 @@
16411641
<p>The serialization of the <code>rgb()</code> functional equivalent is the concatenation of the following:</p>
16421642
<ol>
16431643
<li>The string "<code>rgb(</code>".</li>
1644-
<li>The shortest base-ten integer serialization of the red value.</li>
1644+
<li>The shortest base-ten integer serialization of the color's red component.</li>
16451645
<li>The string "<code>, </code>".</li>
1646-
<li>The shortest base-ten serialization of the green value.</li>
1646+
<li>The shortest base-ten serialization of the color's green component.</li>
16471647
<li>The string "<code>, </code>".</li>
1648-
<li>The shortest base-ten serialization of the blue value.</li>
1648+
<li>The shortest base-ten serialization of the color's blue component.</li>
16491649
<li>The string "<code>)</code>".</li>
16501650
</ol>
16511651
<p>The serialization of the <code>rgba()</code> functional equivalent is the concatenation of the following:</p>
16521652
<ol>
16531653
<li>The string "<code>rgba(</code>".</li>
1654-
<li>The shortest base-ten serialization of the red value.</li>
1654+
<li>The shortest base-ten serialization of the color's red component.</li>
16551655
<li>The string "<code>, </code>".</li>
1656-
<li>The shortest base-ten serialization of the green value.</li>
1656+
<li>The shortest base-ten serialization of the color's green component.</li>
16571657
<li>The string "<code>, </code>".</li>
1658-
<li>The shortest base-ten serialization of the blue value.</li>
1658+
<li>The shortest base-ten serialization of the color's blue component.</li>
16591659
<li>The string "<code>, </code>".</li>
1660-
<li>The shortest serialization of the &lt;number&gt; that denotes the alpha value.</li>
1660+
<li>The shortest serialization of the &lt;number&gt; that denotes the color's alpha component.</li>
16611661
<li>The string "<code>)</code>".</li>
16621662
</ol>
16631663

1664+
<p>In the above rules, the string "<code>, </code>" denotes a COMMA (U+002C) followed by a single SPACE (U+0020).</p>
1665+
16641666
<p>If &lt;color&gt; is a component of a specified value, then
16651667
return the color as follows:</p>
16661668
<ol>

0 commit comments

Comments
 (0)