W3C home > Mailing lists > Public > www-style@w3.org > June 2010

[css2.1] Font family names in CSS and SVG

From: Chris Lilley <chris@w3.org>
Date: Wed, 2 Jun 2010 17:27:20 +0200
Message-ID: <1028405589.20100602172720@w3.org>
To: www-style@w3.org
CC: public-svg-wg@w3.org
Hello www-style,

(CSS)
ACTION-216
Discuss font-family syntax with SVGWG

This relates to CSS 2.1 Issue 114

This discussion happened at the f2f meeting earlier this week:
http://www.w3.org/2010/05/31-svg-minutes.html#item01

We found that the majority of SVG implementations tested (Batik, Firefox, IE9, Chrome, Bitflash, GPAC), treated a font family name as an IDENT. 

One exception was Opera 10.53, although Opera 10.10 behaves the same as the other implementations tested; this was seen as a temporary bug.

There was some sympathy for proposal 2
http://lists.w3.org/Archives/Public/www-style/2010Mar/0395.html
 which would not require font family names with an initial numeral to be quoted. However, since this requires a change to the CSS grammar, and as such changes have been rejected in the past, we thought that this option was unlikely to be accepted.

The SVG WG therefore agreed that proposal 1, 
http://lists.w3.org/Archives/Public/www-style/2010Mar/0369.html
where font family names are either quoted strings or CSS IDENTs, was the best solution and corresponded to what existing SVG implementations did.

Although some of the tested implementations are also HTML//CSS implementations, the behaviour with CSS applied to SVG, and with SVG presentation attributes, needed to be separately tested. The SVG WG would like to thank the CSS WG for the chance to investigate SVG implementation behaviour before closing this CSS 2.1 issue. 

(SVG)
ACTION-2788
Convey font-family parsing result to CSS WG

-- 
 Chris Lilley                    mailto:chris@w3.org
 Technical Director, Interaction Domain
 W3C Graphics Activity Lead
 Co-Chair, W3C Hypertext CG
Received on Wednesday, 2 June 2010 15:27:26 GMT

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