W3C home > Mailing lists > Public > public-css-archive@w3.org > October 2019

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

From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
Date: Thu, 24 Oct 2019 22:02:31 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-546121364-1571954550-sysbot+gh@w3.org>
@astearns Oops, sorry, you are right, of course! I wasn't paying enough attention to the definition. The discontinuity would be when borderRadius is negative and the margin is 0, but borderRadius can't be negative, so there is no problem :)

Then just a last thought: are the extra parentheses deliberate?
```
border-radius + (margin * (1 + (ratio-1)^3))
```

Couldn't it just be
```
border-radius + margin * (1 + (ratio-1)^3)
```


-- 
GitHub Notification of comment by Loirooriol
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/675#issuecomment-546121364 using your GitHub account
Received on Thursday, 24 October 2019 22:02:32 UTC

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