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

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. 

http://www.w3.org/TR/css-2010/#partial

Regards,

John Daggett

Received on Friday, 20 April 2012 00:29:39 UTC