W3C home > Mailing lists > Public > www-svg@w3.org > March 2003

RE: Refering to CSS elements

From: Philip Mackie <Philip.Mackie@RCP.co.uk>
Date: Thu, 27 Mar 2003 16:52:00 -0000
Message-ID: <AEB073C179AC424CB102DF5EF17508A0019357F5@newlace.rcp.co.uk>
To: "'robin.berjon@expway.fr'" <robin.berjon@expway.fr>, Philip Mackie <Philip.Mackie@RCP.co.uk>
Cc: www-svg@w3.org

Thanks to your replies.

-----Original Message-----
From: Robin Berjon [mailto:robin.berjon@expway.fr]
Sent: 27 March 2003 16:49
To: Philip Mackie
Cc: www-svg@w3.org
Subject: Re: Refering to CSS elements


Philip Mackie wrote:
> I'm using a seperate CSS file for the styling of all my SVG elements, 
> such as
>  
> polygon.foo
> {
>     fill: red;
> }
>  
> <polygon class="foo" ....
>  
> I've noticed that it seems to be case sensitive, i.e. if the class is 
> "Foo", it doesn't find the CSS element. Is this correct?

Yes. CSS case-sensitivity varies according to the host language 
case-sensitivity. In other words, it's case insensitive for HTML and case 
sensitive for anything XML, such as SVG.

-- 
Robin Berjon <robin.berjon@expway.fr>
Research Engineer, Expway        http://expway.fr/
7FC0 6F5F D864 EFB8 08CE  8E74 58E6 D5DB 4889 2488
Received on Thursday, 27 March 2003 11:52:05 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:24 GMT