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

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

From: Chris Lilley <chris@w3.org>
Date: Thu, 19 Apr 2012 16:33:48 +0200
Message-ID: <98814858.20120419163348@w3.org>
To: John Daggett <jdaggett@mozilla.com>
CC: WWW Style <www-style@w3.org>
On Thursday, April 19, 2012, 9:33:05 AM, John wrote:

JD> I propose changing the wording above to:

JD>   The <string> is a case-sensitive OpenType feature tag. For it to
JD>   match an OpenType feature contained in a font, it must follow the
JD>   syntax rules for these tags. As specified in the OpenType
JD>   specification, feature tags contain four ASCII characters. Tag
JD>   strings longer or shorter than four characters, or containing
JD>   characters outside the U+20-7E codepoint range must be treated as
JD>   invalid.  User agents must not use a feature tag created by
JD>   truncating or padding the string to four characters.

That looks clearer and more testable to me.

JD> The current editor's draft also lists an issue as to whether quotes
JD> should be required.  I think it would be best to resolve this now and
JD> simply require quotes. The Webkit-prefixed version of Chrome on
JD> Windows doesn't require them but the IE10 Preview version does.  I
JD> think there was enough opposition to unquoted strings during the
JD> original discussion of this [2] that it would make sense to require
JD> quotes and remove the issue from the spec.

I agree with that as well.



-- 
 Chris Lilley   Technical Director, Interaction Domain                 
 W3C Graphics Activity Lead, Fonts Activity Lead
 Co-Chair, W3C Hypertext CG
 Member, CSS, WebFonts, SVG Working Groups
Received on Thursday, 19 April 2012 14:34:00 GMT

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