W3C home > Mailing lists > Public > www-style@w3.org > February 2009

Re: [css3-background] Computed value of a border-radius property when the specified value triggers radius reduction

From: L. David Baron <dbaron@dbaron.org>
Date: Thu, 19 Feb 2009 11:02:43 -0800
To: fantasai <fantasai.lists@inkedblade.net>
Cc: Zack Weinberg <zweinberg@mozilla.com>, W3C Emailing list for WWW Style <www-style@w3.org>
Message-ID: <20090219190243.GA8529@pickering.dbaron.org>
On Thursday 2009-02-19 10:57 -0800, fantasai wrote:
> Zack Weinberg wrote:
>> css3-background says that when the sum of two adjacent border-radii
>> exceeds the size of the border box, the UA must reduce one or more of
>> the radii, and gives an algorithm.  Is that algorithm intended to be
>> applied early enough that the result is visible to getComputedStyle()
>> and similar CSSOM operations, or does it apply only to the radii used
>> for actual drawing?
>
> Good catch. I've clarified the draft to say that it affects the
> "used value". So it definitely wouldn't inherit. But whether it's
> visible to getComputedStyle or not.. I'm not familiar enough with
> the DOM interfaces to say. dbaron, what should the spec say about
> this?

I think nothing, just like it says about getComputedStyle() in
general.

We could use a spec for getComputedStyle(), though.

-David

-- 
L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/
Received on Thursday, 19 February 2009 19:03:28 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:16 GMT