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

Re: Floating objects

From: Chris Lilley <chris@w3.org>
Date: Tue, 18 Jan 2000 18:40:15 +0100
Message-ID: <3884A57F.9B7B474E@w3.org>
To: www-style <WWW-Style@w3.org>
CC: Allan Odgaard <Duff@DIKU.DK>, Bert Bos <Bert.Bos@sophia.inria.fr>


Ian Hickson wrote:
> 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.

Yes.

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

What you are doing is exactly what was proposed, and is as you say safe.
Not all the WG agreed, though, especially those who were using
extensions already with hardcoded, non-hyphen-starting prefixes. 

For those who want to strip out such extensions, programs like tidy know
how to strip out for example mso-* properties. It would be trivial to
add the capability to strip out all hypen-initial prefixes without them
having to be registered first.

--
Chris
Received on Tuesday, 18 January 2000 12:40:27 GMT

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