W3C home > Mailing lists > Public > www-svg@w3.org > August 2010

Re: Property inheritance and the 'clipPath' element

From: Erik Dahlstrom <ed@opera.com>
Date: Tue, 17 Aug 2010 15:22:16 +0200
To: www-svg@w3.org, patd@microsoft.com, "Robert Longson" <longsonr@gmail.com>
Message-ID: <op.vhk3fbetgeuyw5@localhost>
On Sun, 08 Aug 2010 14:13:43 +0200, Robert Longson <longsonr@gmail.com>  

> Patrick,
> The reason that
> http://samples.msdn.microsoft.com/ietestcenter/svg112/svg_harness.htm?url=./svg112/svg/chapter_14.2.svg
> only works in IE is that the colour that is returned is "rgb(0, 0, 255)"  
> by
> firefox rather than "blue". Clearly this is the same rgb colour and as  
> far
> as I am aware getComputedStyle is allowed to return colours in either
> fashion.
> Can you fix the test so that it works when getComputedStyle returns an  
> rgb
> colour? Or alternatively point me to where it is specified that
> getComputedStyle cannot return an rgb colour in this case.

For the record the above testcase has been checked into the SVGWG  
repository as:


I agree with Robert that the testcase should allow the various  
serializations that may occur, unless there's something in DOM 2 Style  
that says otherwise. A hex-color (#0000FF) could also be returned, which  
is what Opera currently does. I hope that a future DOM Style spec will  
require a specific serialization.


Erik Dahlstrom, Core Technology Developer, Opera Software
Co-Chair, W3C SVG Working Group
Personal blog: http://my.opera.com/macdev_ed
Received on Tuesday, 17 August 2010 13:22:57 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:54:27 UTC