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

[css3-fonts] @font-face

From: Daniel Glazman <daniel.glazman@disruptive-innovations.com>
Date: Tue, 26 Oct 2010 12:38:32 +0200
Message-ID: <4CC6AFA8.6040105@disruptive-innovations.com>
To: "www-style@w3.org" <www-style@w3.org>
Currently implementing webfonts in BlueGriffon, I discovered
that the section of CSS 3 Fonts on @font-face does not say
that @font-face is allowed anywhere in a stylesheet nor that order
of an @font-face at-rule and style rules using it does not matter.
It's probably worth a note. Proposed prose:

   @font-face rules can be inserted anywhere in a stylesheet but cannot
   be nested inside another at-rule. The corresponding fonts are made
   available to the whole document, including style rules that happen
   before the at-rule in stylesheet's parsing order, in imported
   stylesheets, in other stylesheets and their imported stylesheets
   and in inline styles.

Received on Tuesday, 26 October 2010 10:39:04 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:40 UTC