W3C home > Mailing lists > Public > public-svg-wg@w3.org > April to 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,

Discuss font-family syntax with SVGWG

This relates to CSS 2.1 Issue 114

This discussion happened at the f2f meeting earlier this week:

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
 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, 
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. 

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:24 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:29:43 UTC