Re: [CSS21] WD 4.1: longest match clarification

On 03/14/2011 08:47 AM, John Jansen wrote:
>  Peter Moulder wrote:
>   For the "longest match", I suggest adding the example
>>   that `red-->' parses as IDENT `red--' followed by DELIM `>',
>>   rather than as IDENT,CDC.
>>   (The intent of adding this example is to clarify that the "longest
>>   match" rule applies to an earlier token even when that results
>>   in a shorter subsequent token.)
>
> Thank you for your feedback. The CSSWG resolved not to make these
> changes to the CSS 2.1 specification[1]. We will be reevaluating
> this issue for errata and future versions of CSS.

Actually, this example *was* added to the spec. It should appear in
the next update.

(Sneak preview here:
   http://www.w3.org/Style/css2-updates/draft-PR-CSS21-201103XX/syndata.html#tokenization
)

~fantasai

Received on Friday, 1 April 2011 20:30:24 UTC