Re: [csswg-drafts] [css2-testing] change description for declaration error handling should be clearer about difference

On Monday, January 30, 2017 3:37:15 PM CET L. David Baron wrote:
> The [changes section of
> css2-testing](https://drafts.csswg.org/css2-testing/changes.html) 
(or
> [its equivalent on the CSS2.2 WD on
> TR](https://www.w3.org/TR/2016/WD-CSS22-20160412/changes.html)) has 
a
> [change to section 4.1.1 and other sections date
> 
2015-09-05](https://drafts.csswg.org/css2-testing/changes.html#s.4.1.1
> e).
> 
> The description of the change should perhaps be clearer that the
> difference is that, when an at-rule is found in a declaration block,
> parsing of declarations resumes after either a {} or a ;, rather 
than
> only after a ;.

The current description is:

    Malformed declarations are handled differently when the start of 
the
    malformed declaration conforms to the syntax of an at-rule. In 
that
    case, parsing resumes not at the next semicolon or at the
    closing curly brace of the enclosing block, but immediately
    after that at-rule. This is expressed by adding the at-rule
    to the core syntax for rulesets, as shown below.

How about changing the second sentence from

    In that case, parsing resumes not at the next semicolon or at
    the closing curly brace of the enclosing block, but immediately
    after that at-rule.
to
    In that case, parsing resumes not only at the next semicolon or at
    the closing curly brace of the enclosing block, but also 
immediately
    after a block ({...}).



Bert
-- 
  Bert Bos                                ( W 3 C ) http://www.w3.org/
  http://www.w3.org/people/bos                               W3C/ERCIM
  bert@w3.org                             2004 Rt des Lucioles / BP 93
  +33 (0)4 92 38 76 92            06902 Sophia Antipolis Cedex, France


-- 
GitHub Notification of comment by bert-github
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/991#issuecomment-276423054 
using your GitHub account

Received on Tuesday, 31 January 2017 16:58:14 UTC