W3C home > Mailing lists > Public > www-style@w3.org > July 1997

Re: Proprietary extensions to CSS1 already?

From: Chris Lilley <Chris.Lilley@sophia.inria.fr>
Date: Thu, 31 Jul 1997 16:50:46 +0200 (MET)
Message-Id: <9707311650.ZM28256@grommit.inria.fr>
To: "E. Stephen Mack" <estephen@emf.net>, www-style@w3.org
On Jul 30,  5:09pm, E. Stephen Mack wrote:

> In Netscape's Dynamic HTML documentation (which still mentions
> PR 5 even though 4.01a is the latest version), there is
> a section called Chapter 3.1 Dyanmic Fonts [1].
> It contains this example:
>
> <STYLE TYPE="text/css"><!--
>     @fontdef url(http://home.netscape.com/fonts/sample.pfr);
> --></STYLE>
>
> No mention is made that @fontdef is an extension to CSS not
> covered in the official CSS1 specification, nor even a proposal
> offered in the Working Draft on Fonts [2],

Woah. This is just an update problem. They are using an older form
of the syntax, that's all. The @font-face rule was called @fontdef
in some drafts, it got changed about 6 months ago as I recall. Their
example *is* missing the {} and the name of the descriptor. It
should be written


<STYLE TYPE="text/css"><!--
    @font-face { src: url(http://home.netscape.com/fonts/sample.pfr);  }
--></STYLE>

Which is not a million miles from what they wrote. That same page you
quote notes that the syntax is not yet approved (which is true, although
it has been stable for a while and is unlikely to change so as to
invalidate stylesheets written to the current public draft, without
abundant good reason).


-- 
Chris Lilley, W3C                          [ http://www.w3.org/ ]
Graphics and Fonts Guy            The World Wide Web Consortium
http://www.w3.org/people/chris/              INRIA,  Projet W3C
chris@w3.org                       2004 Rt des Lucioles / BP 93
+33 (0)4 93 65 79 87       06902 Sophia Antipolis Cedex, France
Received on Thursday, 31 July 1997 10:51:07 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:53:50 GMT