Skip to content

Commit 72db11a

Browse files
committed
[css2] Added some errata.
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%403286
1 parent c3f8dd7 commit 72db11a

File tree

1 file changed

+109
-30
lines changed

1 file changed

+109
-30
lines changed

css2/changes.src

Lines changed: 109 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
22
<html lang="en">
3-
<!-- $Id: changes.src,v 2.170 2013-05-02 18:14:58 bbos Exp $ -->
3+
<!-- $Id: changes.src,v 2.171 2013-07-15 12:36:49 bbos Exp $ -->
44
<HEAD>
55
<TITLE>Changes</TITLE>
66
<!--script src="http://www.w3c-test.org/css/harness/annotate.js#CSS21_DEV" type="text/javascript" defer></script-->
@@ -7960,21 +7960,26 @@ to the first applicable of the following:</ins>
79607960
preceded by a "-" or "+" to indicate the sign.
79617961
</blockquote>
79627962

7963-
<p>No change is required in 4.3.2 (&lt;length&gt;) or 4.3.3
7964-
(&lt;percentage&gt;), because they refer to 4.3.1.
7963+
<p>In <a href="syndata.html#tokenization" >&ldquo;4.1.1
7964+
Tokenization,&rdquo;</a> allow "+" or "-" at the start of the
7965+
{num} macro:
79657966

7966-
<!-- Status: edited
7967+
<blockquote>
7968+
<table>
7969+
<tr><td>num
7970+
<td><code><ins>[-+]?</ins>[0-9]+|<ins>[-+]?</ins>[0-9]*\.[0-9]+</code>
7971+
</table>
7972+
</blockquote>
79677973

7968-
See http://lists.w3.org/Archives/Public/www-style/2012May/0063.html
7974+
<p>(Note that this changes the definition of three tokens, NUMBER,
7975+
DIMENSION and PERCENTAGE, and thus the tokenization of CSS, but it
7976+
does not change the language generated by the grammar as a whole.)
79697977

7970-
The resolution says to change the NUMBER token, but that doesn't
7971-
solve the issue with <number>, and probably breaks things
7972-
elsewhere. It is likely that the decision (to disallow spaces and
7973-
comments after the sign, like in the WD of css3-values) was
7974-
recorded incorrectly.
7978+
<p>No change is required in 4.3.2 (&lt;length&gt;) or 4.3.3
7979+
(&lt;percentage&gt;), because they refer to 4.3.1.
79757980

7976-
The edit, adding the word &ldquo;immediately,&rdquo; borrows from
7977-
css3-values. -->
7981+
<!-- Status: edited -->
7982+
<!-- http://lists.w3.org/Archives/Public/www-style/2012May/0063.html -->
79787983

79797984

79807985

@@ -8095,24 +8100,6 @@ to the first applicable of the following:</ins>
80958100

80968101

80978102

8098-
<li id=s.11.1.1b class=change>
8099-
<p><span class=updated>[2012-08-08]</span> In <a
8100-
href="visufx.html#overflow" >11.1.1 &ldquo;Overflow: the 'overflow'
8101-
property,&rdquo;</a> add:
8102-
8103-
<blockquote>
8104-
<p><ins>On a table element ('display: table'), 'overflow' applies
8105-
to the table box (i.e., not the table wrapper box) and all values
8106-
other than 'hidden' are treated as 'visible'.</ins>
8107-
</blockquote>
8108-
8109-
<!-- Status: edited -->
8110-
<!-- http://lists.w3.org/Archives/Public/www-style/2012Aug/0298.html -->
8111-
8112-
8113-
<!-- Still need to add errata decided between 2012-08-15 and 2013-01-09 -->
8114-
8115-
81168103
<li id=s.4.1.1a class=change>
81178104
<p><span class=updated>[2013-04-29]</span> The letters u, r and l
81188105
of the URI token may be written as escapes. In <a
@@ -8272,6 +8259,98 @@ baduri3 <del>url</del><ins>{U}{R}{L}</ins>\({w}{badstring}</pre>
82728259

82738260

82748261

8262+
<li id=s.11.1.1b class=change>
8263+
<p><span class=updated>[2013-07-15]</span> In <a
8264+
href="visufx.html#overflow" >11.1.1 &ldquo;Overflow: the 'overflow'
8265+
property,&rdquo;</a> change the definition of 'scroll' and 'auto':
8266+
8267+
<blockquote>
8268+
<dl>
8269+
<dt><strong>scroll</strong> <dd>This value indicates that the
8270+
content is clipped and that if the user agent uses a scrolling
8271+
mechanism that is visible on the screen (such as a scroll bar
8272+
or a panner), that mechanism should be displayed for a box
8273+
whether or not any of its content is clipped. This avoids any
8274+
problem with scrollbars appearing and disappearing in a dynamic
8275+
environment. When this value is specified and the target
8276+
medium is 'print', overflowing content may be printed.
8277+
<ins>When used on <a href="tables.html#table-box">table
8278+
boxes,</a> this value has the same meaning as 'visible'.</ins>
8279+
8280+
<dt><strong>auto</strong> <dd>The behavior of the 'auto' value
8281+
is user agent-dependent, but should cause a scrolling mechanism
8282+
to be provided for overflowing boxes. <ins>When used on <a
8283+
href="tables.html#table-box">table boxes,</a> this value has
8284+
the same meaning as 'visible'.</ins>
8285+
</dl>
8286+
</blockquote>
8287+
8288+
<!-- Status: edited -->
8289+
<!-- http://lists.w3.org/Archives/Public/www-style/2012Aug/0298.html -->
8290+
8291+
<!-- Note: this revises the wording previously decided in
8292+
http://lists.w3.org/Archives/Public/www-style/2012Aug/0298.html
8293+
See https://www.w3.org/Bugs/Public/show_bug.cgi?id=18497 for the
8294+
history of the decision -->
8295+
8296+
8297+
<li id=s.15.3b class=change>
8298+
<p><span class=updated>[2013-07-15]</span> In <a
8299+
href="fonts.html#font-family-prop" >15.3 Font family: the
8300+
'font-family' property</a> the grammar is missing a pair of brackets:
8301+
8302+
<blockquote>
8303+
<p>Value: [[ &lt;family-name> | &lt;generic-family> ] [,
8304+
<ins>[</ins> &lt;family-name>| &lt;generic-family> ]
8305+
<ins>]</ins>* ] | inherit
8306+
</blockquote>
8307+
8308+
<!-- Status: edited -->
8309+
<!-- http://lists.w3.org/Archives/Public/www-style/2012May/0887.html -->
8310+
8311+
8312+
8313+
<li id=s.G.1a class=change>
8314+
<p><span class=updated>[2012-05-02]</span> Spaces and comments are
8315+
not allowed between the sign and the digits of a &lt;number&gt;,
8316+
&lt;length&gt; or &lt;percentage&gt;. In <a
8317+
href="grammar.html#scanner" >&ldquo;G.2 Lexical
8318+
scanner,&rdquo;</a> change the {num} macro as follows:
8319+
8320+
<blockquote>
8321+
<pre>num <ins>[-+]?</ins>[0-9]+|<ins>[-+]?</ins>[0-9]*"."[0-9]+</pre>
8322+
</blockquote>
8323+
8324+
<p>In <a href="grammar.html#grammar" >&ldquo;G.1
8325+
Grammar,&rdquo;</a> remove unary_operator from the grammar:
8326+
8327+
<blockquote>
8328+
<pre>
8329+
<del>unary_operator
8330+
: '-' | '+'
8331+
;</del></pre>
8332+
</blockquote>
8333+
8334+
<p>and
8335+
8336+
<blockquote>
8337+
<pre>
8338+
term
8339+
: <del>unary_operator?</del>
8340+
[ NUMBER S* | PERCENTAGE S* | LENGTH S* | EMS S* | EXS S* | ANGLE S* |
8341+
TIME S* | FREQ S* ]
8342+
| STRING S* | IDENT S* | URI S* | hexcolor | function
8343+
;</pre>
8344+
</blockquote>
8345+
8346+
<!-- Status: edited -->
8347+
<!-- http://lists.w3.org/Archives/Public/www-style/2012May/0063.html -->
8348+
8349+
8350+
8351+
<!-- Still need to add errata decided between 2012-08-15 and 2013-01-09 -->
8352+
8353+
82758354
</ul>
82768355

82778356
</BODY>

0 commit comments

Comments
 (0)