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

RE: Property inheritance and the 'clipPath' element

From: Patrick Dengler <patd@microsoft.com>
Date: Tue, 14 Sep 2010 21:36:50 +0000
To: Patrick Dengler <patd@microsoft.com>, Erik Dahlstrom <ed@opera.com>, "www-svg@w3.org" <www-svg@w3.org>, Robert Longson <longsonr@gmail.com>
Message-ID: <4A2DB3AE4504E944AF122BBFBA7FBA1F53AF7168@TK5EX14MBXC118.redmond.corp.microsoft.com>
We have updated this test accordingly.  We have changed the getComputedStyle to check display instead of color to avoid this ambiguity.

Please review.

-----Original Message-----
From: www-svg-request@w3.org [mailto:www-svg-request@w3.org] On Behalf Of Patrick Dengler
Sent: Tuesday, August 17, 2010 1:23 PM
To: Erik Dahlstrom; www-svg@w3.org; Robert Longson
Subject: RE: Property inheritance and the 'clipPath' element

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, 14 September 2010 21:37:24 UTC

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