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

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 UTC