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

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

From: John Daggett <jdaggett@mozilla.com>
Date: Thu, 19 Apr 2012 17:29:09 -0700 (PDT)
To: "Kang-Hao (Kenny) Lu" <kennyluck@csail.mit.edu>
Cc: WWW Style <www-style@w3.org>
Message-ID: <214966568.4082918.1334881749526.JavaMail.root@zmmbox3.mail.corp.phx1.mozilla.com>
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. 



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

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:14 UTC