W3C home > Mailing lists > Public > www-style@w3.org > April 2012

Re: [css3-fonts] font-feature-settings syntax

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Thu, 19 Apr 2012 17:31:46 -0700
Message-ID: <CAAWBYDDvUyxKXd0pwNWF6QsKwMiwMRcGJY-980GPFe-X_YXevQ@mail.gmail.com>
To: John Daggett <jdaggett@mozilla.com>
Cc: "Kang-Hao (Kenny) Lu" <kennyluck@csail.mit.edu>, WWW Style <www-style@w3.org>
On Thu, Apr 19, 2012 at 5:29 PM, John Daggett <jdaggett@mozilla.com> wrote:
> Kang-Hao (Kenny) Lu wrote:
>> If I understand this correctly, if there's any tag string in
>> 'font-feature-settings' that violates this, the whole list is
>> invalid, right? Note that this sentence in the previous wording
>>
>>   # Tag strings longer than four characters must be ignored
>>
>> might be interpreted as "UA must ignore the invalid items in the
>> list" and hence inconsistent with how we parse values in other parts
>> of CSS (i.e. an invalid value makes the whole declaration invalid).
>> The new wording gives me less impression about this but I would
>> still hope that the paragraph is rephrased to say "the declaration
>> is invalid" instead of "the tag strings are invalid".
>
> An invalid value means the entire decl is ignored in CSS:
>
>> In particular, user agents must not selectively ignore unsupported
>> component values and honor supported values in a single multi-value
>> property declaration: if any value is considered invalid (as
>> unsupported values must be), CSS requires that the entire
>> declaration be ignored.

You should be stricter with your wording here, to avoid confusion.
Either simply say "is invalid", or fully say "is invalid and must
cause the declaration to be ignored".

~TJ
Received on Friday, 20 April 2012 00:32:34 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:52 GMT