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

[css2.1][css3-fonts] testing font-family syntax

From: John Daggett <jdaggett@mozilla.com>
Date: Thu, 17 May 2012 20:23:30 -0700 (PDT)
To: www-style list <www-style@w3.org>
Message-ID: <444306656.15424276.1337311410219.JavaMail.root@mozilla.com>

I put together a test of unquoted font family names, both in font and font-family
property declarations.  It assumes what Bert said at the F2F is correct behavior,
that 'inherit' is an invalid name but 'foo inherit' is valid.

  http://people.mozilla.org/~jdaggett/tests/font-family-parsing.html

Running this with different browsers shows a wide variety of behavior with
very little consistency.

Regards,

John Daggett
Received on Friday, 18 May 2012 03:24:00 GMT

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