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

Re: Refering to CSS elements

From: Robin Berjon <robin.berjon@expway.fr>
Date: Thu, 27 Mar 2003 17:49:11 +0100
Message-ID: <3E832B87.1070707@expway.fr>
To: Philip Mackie <Philip.Mackie@RCP.co.uk>
Cc: www-svg@w3.org

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:51:22 GMT

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