Skip to content

Commit 7a2c33a

Browse files
committed
Fix inaccuracy in Component values section reported in <http://lists.w3.org/Archives/Public/www-style/2012Apr/0080.html> (but with a completely different edit from that suggested).
1 parent 36ad646 commit 7a2c33a

3 files changed

Lines changed: 20 additions & 19 deletions

File tree

css3-values/Overview.html

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -469,17 +469,18 @@ <h3 id=component-whitespace><span class=secno>2.4. </span> Component values
469469
href="http://www.w3.org/TR/CSS21/syndata.html#tokenization">Chapter 4</a>
470470
of <a href="#CSS21" rel=biblioentry>[CSS21]<!--{{!CSS21}}--></a>. As the
471471
grammar allows spaces between tokens in the components of the
472-
<code>value</code> production, spaces may appear between tokens in
472+
<code>value</code> production, spaces may appear between components in
473473
property values.
474474

475475
<p class=note>Note: In many cases, spaces will in fact be <em>required</em>
476-
between tokens in order to distinguish them from each other. For example,
477-
the value ‘<code class=css>1em2em</code>’ would be parsed as a single
478-
<code>DIMEN</code> token with the number ‘<code class=css>1</code>
479-
and the identifier ‘<code class=css>em2em</code>’, which is an invalid
480-
unit. In this case, a space would be required before the ‘<code
481-
class=css>2</code>’ to get this parsed as the two lengths ‘<code
482-
class=css>1em</code>’ and ‘<code class=css>2em</code>’.
476+
between components in order to distinguish them from each other. For
477+
example, the value ‘<code class=css>1em2em</code>’ would be parsed as
478+
a single <code>DIMEN</code> token with the number ‘<code
479+
class=css>1</code>’ and the identifier ‘<code
480+
class=css>em2em</code>’, which is an invalid unit. In this case, a space
481+
would be required before the ‘<code class=css>2</code>’ to get this
482+
parsed as the two lengths ‘<code class=css>1em</code>’ and ‘<code
483+
class=css>2em</code>’.
483484

484485
<h3 id=value-examples><span class=secno>2.5. </span> Property value
485486
examples</h3>

css3-values/Overview.src.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,11 +208,11 @@ <h3 id="component-whitespace">
208208
href="http://www.w3.org/TR/CSS21/syndata.html#tokenization">Chapter 4</a>
209209
of [[!CSS21]].
210210
As the grammar allows spaces between tokens in the components of the
211-
<code>value</code> production, spaces may appear between tokens in
211+
<code>value</code> production, spaces may appear between components in
212212
property values.
213213

214214
<p class=note>Note: In many cases, spaces will in fact be
215-
<em>required</em> between tokens in order to distinguish them from
215+
<em>required</em> between components in order to distinguish them from
216216
each other. For example, the value ''1em2em'' would be parsed as a
217217
single <code>DIMEN</code> token with the number ''1'' and the identifier
218218
''em2em'', which is an invalid unit. In this case, a space would be

css3-values/issues-lc-2012.txt

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Summary: Eliminate the 'integer' type entirely.
2626
From: Kenny Lu
2727
Comment: http://lists.w3.org/Archives/Public/www-style/2012Apr/0260.html
2828
Response: http://lists.w3.org/Archives/Public/www-style/2012Apr/0624.html
29-
Closed: Rejected.
29+
Closed: Rejected
3030
----
3131
Issue 5.
3232
Summary: attr() needs to either clarify what element it draws from when not in a rule (and where exactly it's allowed), or disallow that case
@@ -68,19 +68,19 @@ Summary: Can calc() return an <integer>? If so, clarify when it does so.
6868
From: Kenny Lu
6969
Comment: http://lists.w3.org/Archives/Public/www-style/2012Apr/0260.html
7070
Response: http://lists.w3.org/Archives/Public/www-style/2012Apr/0624.html
71-
Open: Accepted pending WG resolution
71+
Open: Accepted
7272
----
7373
Issue 11.
7474
Summary: calc() should refer to <number> etc. *types*, not grammar tokens, so attr() etc. can be used.
7575
From: fantasai and Tab Atkins
76-
Open: pending WG resolution
76+
Closed: Accepted (to allow attr(), still referring to tokens)
7777
----
7878
Issue 12.
7979
Summary: cycle() and values that have commas.
8080
From: Kenny Lu
8181
Comment: http://lists.w3.org/Archives/Public/www-style/2012Apr/0151.html
8282
Response: http://lists.w3.org/Archives/Public/www-style/2012Apr/0626.html
83-
Closed: Deferred
83+
Closed: Rejected
8484
----
8585
Issue 13.
8686
Summary: cycle() can't skip levels, or easily refer to non-inherited properties
@@ -94,26 +94,26 @@ Summary: Example UA stylesheet using cycle() for <ul> is incorrect.
9494
From: Kenny Lu
9595
Comment: http://lists.w3.org/Archives/Public/www-style/2012Apr/0207.html
9696
Response: http://lists.w3.org/Archives/Public/www-style/2012Apr/0627.html
97-
Closed: Deferred
97+
Closed: Accepted
9898
----
9999
Issue 15.
100100
Summary: Value equality of components of cycle() ill-defined
101101
From: Kenny Lu
102102
Comment: http://lists.w3.org/Archives/Public/www-style/2012Apr/0207.html
103103
Response: http://lists.w3.org/Archives/Public/www-style/2012Apr/0627.html
104-
Closed: Deferred
104+
Closed: Invalid
105105
----
106106
Issue 16.
107107
Summary: Defer cycle() to level 4
108108
From: fantasai and Tab Atkins
109109
Note: Possibly switch current function to toggle(), and create a new cycle() that addresses Kenny's issues about <ul>,<table>,etc.
110-
Open: pending WG resolution
110+
Closed: Partially accepted
111111
----
112112
Issue 17.
113113
Summary: Switch URL reference to abarth's url spec.
114114
From: Kenny Lu
115115
Comment: http://lists.w3.org/Archives/Public/www-style/2012Apr/0204.html
116-
Open: pending advice
116+
Closed: Rejected
117117
----
118118
Issue 18.
119119
Summary: Define (or reference from elsewhere) a specific always-invalid URL.
@@ -186,4 +186,4 @@ From: fantasai
186186
Comment: http://lists.w3.org/Archives/Public/www-style/2012Apr/0566.html
187187
Response:
188188
Closed: Deferred
189-
----
189+
----

0 commit comments

Comments
 (0)