11<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
22<html lang="en">
3- <!-- $Id: changes.src,v 2.98 2009-04-09 17:10:06 bbos Exp $ -->
3+ <!-- $Id: changes.src,v 2.99 2009-04-15 13:51:04 bbos Exp $ -->
44<HEAD>
55<TITLE>Changes</TITLE>
66</HEAD>
@@ -2700,8 +2700,8 @@ are: -xv-, -ah-, prince-, -webkit-, and -khtml-.
27002700<!--========================== issue 15 ===========================-->
27012701
27022702<h3 id="s.4.1.3"><a
2703- href="/TR/2007/CR-CSS21-20070719/syndata.html#characters"> Section
2704- 4.1.3 Characters and case</a></h3>
2703+ href="/TR/2007/CR-CSS21-20070719/syndata.html#characters">
2704+ Section 4.1.3 Characters and case</a></h3>
27052705
27062706<p><span class=date>[2007-11-14]</span> In the second bullet, change
27072707<q><del>[a-z0-9]</del></q> to <q><ins>[a-zA-Z0-9]</ins></q>; in the
@@ -2741,6 +2741,35 @@ hexadecimal digit) can be escaped with a backslash to remove its
27412741special meaning.
27422742</blockquote>
27432743
2744+ <!--========================== issue 85 ===========================-->
2745+
2746+ <h3 id="s.4.1.3c"><a
2747+ href="/TR/2007/CR-CSS21-20070719/syndata.html#characters">
2748+ Section 4.1.3 Characters and case</a></h3>
2749+
2750+ <p><span class=date>[2009-04-15]</span> Text added to match the grammar:
2751+
2752+ <blockquote>
2753+ <p>[…] any character (except a hexadecimal digit <ins>or a
2754+ linefeed, carriage return of formfeed</ins>) can be escaped […]
2755+ </blockquote>
2756+
2757+
2758+ <!--========================== issue 102 ==========================-->
2759+
2760+ <h3 id="s.4.1.5"><a
2761+ href="/TR/2007/CR-CSS21-20070719/syndata.htmll#at-rules">
2762+ Section 4.1.5 At-rules</a></h3>
2763+
2764+ <p><span class=date>[2009-04-15]</span> Clarified that unknown
2765+ statements are ignored when looking for @import:
2766+
2767+ <blockquote>
2768+ <p>CSS 2.1 user agents must ignore any '@import' rule that occurs
2769+ inside a block or after any <del>valid</del> <ins>non-ignored</ins>
2770+ statement other than an @charset or an @import rule.
2771+ </blockquote>
2772+
27442773<!--========================== issue 32a ==========================-->
27452774
27462775<h3 id="s.4.1.7"><a
@@ -2761,17 +2790,23 @@ well.</blockquote>
27612790href="/TR/2007/CR-CSS21-20070719/syndata.htmll#parsing-errors">
27622791Section 4.2 Rules for handling parsing errors</a></h3>
27632792
2764- <p><span class=date>[2008-08-19 ]</span> Replace
2765- “declaration” by “statement” in :
2793+ <p><span class=date>[2009-04-15 ]</span> Added error recovery rule for
2794+ unexpected tokens at the top level :
27662795
27672796<blockquote>
2768- <p><strong>Malformed declarations.</strong> User agents must handle
2769- unexpected tokens encountered while parsing a <del>declaration</del>
2770- <ins>statement</ins> by reading until the end of the
2771- <del>declaration</del> <ins>statement</ins>, while observing the rules
2772- for matching pairs of (), [], {}, "", and '', and correctly handling
2773- escapes. For example, a malformed <del>declaration</del>
2774- <ins>statement</ins> may be missing a property, colon (:) or value.
2797+ <p><strong>Malformed statements.</strong> User agents must handle
2798+ unexpected tokens encountered while parsing a statement by reading
2799+ until the end of the statement, while observing the rules for matching
2800+ pairs of (), [], {}, "", and '', and correctly handling escapes. For
2801+ example, a malformed statement may contain an unexpected closing brace
2802+ or at-keyword. E.g., the following lines are all ignored:
2803+
2804+ <pre>
2805+ p @here {color: red} /* ruleset with unexpected at-keyword "@here" */
2806+ @foo @bar; /* at-rule with unexpected at-keyword "@bar" */
2807+ }} {{ - }} /* ruleset with unexpected right brace */
2808+ ) [ {} ] p {color: red } /* ruleset with unexpected right parenthesis */
2809+ </pre>
27752810</blockquote>
27762811
27772812<!--========================== issue 32b ==========================-->
@@ -2837,6 +2872,15 @@ href="/TR/2007/CR-CSS21-20070719/selector.html#default-attrs"> Section
28372872<p><span class=date>[2007-11-14]</span> Replace <q><del>tag</del>
28382873selector</q> by <q><ins>type</ins> selector</q>.
28392874
2875+ <!--========================== issue 68 ===========================-->
2876+
2877+ <h3 id="s.5.11.4"><a
2878+ href="/TR/2007/CR-CSS21-20070719/selector.html#lang">
2879+ Section 5.11.4 The language pseudo-class: :lang</a></h3>
2880+
2881+ <p><span class=date>[2009-04-15]</span> The language code is
2882+ case-insensitive.
2883+
28402884<!--========================== issue 78 ===========================-->
28412885
28422886<h3 id="s.5.12.3"><a
@@ -3130,6 +3174,39 @@ it has the dimensions of the viewport and is anchored at the canvas
31303174origin; it is the page area for paged media.</ins>
31313175</blockquote>
31323176
3177+ <!--========================== issue 103a =========================-->
3178+
3179+ <h3 id="s.10.3"><a
3180+ href="/TR/2007/CR-CSS21-20070719/visudet.html#Computing_widths_and_margins">
3181+ Section 10.3 Calculating widths and margins</a></h3>
3182+
3183+ <p><span class=date>[2009-04-15]</span> The values of 'left' and
3184+ 'right' are only determined by section 9.4.3 in the case of
3185+ relatively positioned elements:
3186+
3187+ <blockquote>
3188+ <p>For Points 1-6 and 9-10, the values of 'left' and 'right' <del>used
3189+ for layout</del> <ins>in the case of relatively positioned
3190+ elements</ins> are determined by the rules in <a
3191+ href="visuren.html#relative-positioning">section 9.4.3.</a>
3192+ </blockquote>
3193+
3194+ <!--========================== issue 103b =========================-->
3195+
3196+ <h3 id="s.10.3.1"><a
3197+ href="/TR/2007/CR-CSS21-20070719/visudet.html#inline-width">
3198+ Section 10.3.1 Inline, non-replaced elements</a></h3>
3199+
3200+ <p><span class=date>[2009-04-15]</span> The only case in which 'left'
3201+ or 'right' can be 'auto' is when the element is statically positioned.
3202+ In that case 'left' and 'right are ignored and there is thus no need
3203+ to determine a used value:
3204+
3205+ <blockquote>
3206+ <p>A computed value of 'auto' for <del>'left', 'right',</del>
3207+ 'margin-left' or 'margin-right' becomes a used value of '0'.
3208+ </blockquote>
3209+
31333210<!--========================== issue 12b ==========================-->
31343211
31353212<h3 id="s.10.3.2"><a
@@ -3377,6 +3454,17 @@ combination)</q> in <q>User agents must support separation with
33773454commas, but may also support separation without commas <ins>(but not a
33783455combination)</ins></q>.
33793456
3457+ <!--========================== issue 108 ==========================-->
3458+
3459+ <h3 id="s.12.2"><a
3460+ href="/TR/2007/CR-CSS21-20070719/generate.html#content">
3461+ Section 12.2 The 'content' property</a></h3>
3462+
3463+ <p><span class=date>[2009-04-15]</span> (And also in
3464+ section 12.4:) certain keywords, in particular 'none', 'inherit'
3465+ and 'initial' (the latter being reserved for future use) cannot be
3466+ used as names for counters.
3467+
33803468<!--========================== issue 30 ===========================-->
33813469
33823470<h3 id="s.12.4.2"><a
@@ -3505,6 +3593,16 @@ Section 13.3.2 Breaks inside elements: 'orphans',
35053593a defined term. Change <del>of a paragraph</del> to <ins>in a block
35063594element</ins> (twice).
35073595
3596+ <!--========================== issue 105 ==========================-->
3597+
3598+ <h3 id="s.13.3.2a"><a
3599+ href="/TR/2007/CR-CSS21-20070719/page.html#break-inside">
3600+ Section 13.3.2 Breaks inside elements: 'orphans',
3601+ 'widows'</a></h3>
3602+
3603+ <p><span class=date>[2009-04-15]</span> 'Widows' and 'orphans' only
3604+ accept positive values.
3605+
35083606<!--============== issue 44b = ISSUE-35b ==========================-->
35093607
35103608<h3 id="s.13.3.3"><a
@@ -3575,6 +3673,24 @@ Section 14.2 The background</a></h3>
35753673<p><span class=date>[2008-11-03]</span> The 'background' property is
35763674special on BODY not only in HTML�but also in XHTML.
35773675
3676+ <!--========================== issue 100 ==========================-->
3677+
3678+ <h3 id="s.14.2a"><a
3679+ href="/TR/2007/CR-CSS21-20070719/page.html#background">
3680+ Section 14.2 The background</a></h3>
3681+
3682+ <p><span class=date>[2009-04-15]</span> The whole 'background'
3683+ property is used for the canvas, not just the color and the image:
3684+
3685+ <blockquote>
3686+ <p>For documents whose root element is an HTML "HTML" element or an
3687+ XHTML "html" element that has computed values of 'transparent' for
3688+ 'background-color' and 'none' for 'background-image', user agents must
3689+ instead use the computed value of <del>those</del> <ins>the
3690+ background</ins> properties from that element's first HTML "BODY"
3691+ element or XHTML "body" element child […]
3692+ </blockquote>
3693+
35783694<!--========================== issue 39 ===========================-->
35793695
35803696<h3 id="s.14.2.1"><a
@@ -3734,6 +3850,9 @@ context.</ins> The table box (not the anonymous box) is used when
37343850doing baseline vertical alignment for an 'inline-table'.
37353851</blockquote>
37363852
3853+ <p>The diagram now shows the caption's margins <em>inside</em> the
3854+ anonymous box.
3855+
37373856<!--========================== issue 20 ===========================-->
37383857
37393858<h3 id="s.17.5.4a"><a
@@ -3820,6 +3939,15 @@ the grammar rule for <q>combinator</q> to
38203939grammar is easier to read and relies less on specific notations of
38213940Flex.
38223941
3942+ <!--========================= issue 104 ===========================-->
3943+
3944+ <h3 id=s.G.1><a
3945+ href="/TR/2007/CR-CSS21-20070719/grammar.html#grammar">
3946+ Section G.1 Grammar</a></h3>
3947+
3948+ <p><span class=date>[2007-09-27]</span> Changes to remove ambiguity
3949+ with respect to the S token and avoid nullable non-terminals.
3950+
38233951<!--========================== issue 3 ============================-->
38243952
38253953<h3 id=s.G.2><a
0 commit comments