W3C home > Mailing lists > Public > public-css-archive@w3.org > November 2016

Re: [csswg-drafts] [css-shapes] Calculation of corner radii by margin-box and border-radius

From: L. David Baron via GitHub <sysbot+gh@w3.org>
Date: Thu, 10 Nov 2016 05:46:18 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-259606727-1478756777-sysbot+gh@w3.org>
I believe that would also match the [spec for box-shadow 
since that spec says:
> However, in order to create a sharper corner when the border radius 
is small, when the border radius is less than the spread distance, the
 spread distance is multiplied by the proportion 1 + (r-1)3, where r 
is the ratio of the border radius to the spread distance, in 
calculating the corner radii of the spread shadow shape.

... and since border-radius must be nonnegative, it can only be less 
than the spread distance when the spread distance is positive.

GitHub Notification of comment by dbaron
Please view or discuss this issue at 
using your GitHub account
Received on Thursday, 10 November 2016 05:46:24 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:05 UTC