- From: L. David Baron <dbaron@dbaron.org>
- Date: Tue, 20 Jan 2009 08:30:08 -0800
- To: Anne van Kesteren <annevk@opera.com>
- Cc: John Daggett <jdaggett@mozilla.com>, www-style <www-style@w3.org>
On Tuesday 2009-01-20 12:55 +0100, Anne van Kesteren wrote: > Wouldn't it be better to simply require using MyFont1 and MyFont2 rather > than having some special behavior in case you have several @font-face > blocks using the same identifier? > > I personally would expect the last @font-face rule there to override the > first. Are you proposing that @font-face rules that have identical descriptors (other than 'src') drop all but the last identical descriptor? That's problematic because then you then have to determine which @font-face rules are identical, which could be a big problem if we ever want to add a new descriptor like 'unicode-range' or add to the syntax of 'unicode-range' (in which case the descriptor would be dropped). Consider, for example, what would have happened in that rule if implementations initially implemented @font-face without 'unicode-range' (as some are), and then 'unicode-range' were introduced in the next level of the specification. In such a situation, pages wouldn't be able to split fonts and use 'unicode-range' until all implementations they cared about supported it. -David -- L. David Baron http://dbaron.org/ Mozilla Corporation http://www.mozilla.com/
Received on Tuesday, 20 January 2009 16:31:03 UTC