W3C home > Mailing lists > Public > www-style@w3.org > January 2000

Re: Floating objects

From: Ian Hickson <py8ieh@bath.ac.uk>
Date: Fri, 14 Jan 2000 20:46:34 +0000 (GMT)
To: Allan Odgaard <Duff@diku.dk>
cc: Bert Bos <Bert.Bos@sophia.inria.fr>, www-style <WWW-Style@w3.org>
Message-ID: <Pine.GSO.4.04.10001142020450.16812-100000@mary.bath.ac.uk>
On Fri, 14 Jan 2000, Allan Odgaard wrote:
> [...] Is there are any special way to mark such custom extensions?
> E.g. by putting 'x-' infront of them, as in the example?

Mozilla are using the prefix "-moz-" to any properties, e.g.

  text-align: -moz-center;
   -moz-rounded-corners: 43px;

So you could use something like -yam- or whatever:

   -yam-scrollbar: left;

I believe that "-" is not a valid prefix for identifiers in CSS2, so
this is a 'safe' extension. And I believe that this is being changed
for CSS3, with exactly this in mind: allowing a way for user agents to
extend the language without clashing with future language extensions.
But I would not know. Someone from the WG will have to comment...

Ian Hickson                            ("`-''-/").___..--''"`-._   
http://www.bath.ac.uk/%7Epy8ieh/        `6_ 6  )   `-.  (     ).`-.__.`)
                                        (_Y_.)'  ._   )  `._ `. ``-..-' fL
Member, Mozilla Quality Assurance     _..`--'_..-_/  /--'_.' ,'
Browser Standards Compliance Team    (il).-''  (li).'  ((!.-'    
Received on Friday, 14 January 2000 15:46:39 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:52 UTC