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

RE: Property inheritance and the 'clipPath' element

From: Patrick Dengler <patd@microsoft.com>
Date: Tue, 17 Aug 2010 20:23:21 +0000
To: Erik Dahlstrom <ed@opera.com>, "www-svg@w3.org" <www-svg@w3.org>, "Robert Longson" <longsonr@gmail.com>
Message-ID: <4A2DB3AE4504E944AF122BBFBA7FBA1F53A01FF4@TK5EX14MBXC116.redmond.corp.microsoft.com>
We looked into this and we agree that the CSS specification is ambiguous here.  We are working to provide a fix.

-----Original Message-----
From: Erik Dahlstrom [mailto:ed@opera.com] 
Sent: Tuesday, August 17, 2010 6:22 AM
To: www-svg@w3.org; Patrick Dengler; Robert Longson
Subject: Re: Property inheritance and the 'clipPath' element

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 20:24:03 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:22 UTC