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

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 UTC