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

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 UTC