roundedbox: Only grow border-radius if there is one

This is relevant for shadow spread and goes in line with the web.

Testcase included.
This commit is contained in:
Benjamin Otte
2014-08-21 00:10:43 +02:00
parent 1126a34353
commit 67456304d4
5 changed files with 64 additions and 2 deletions

View File

@ -0,0 +1,9 @@
@import "reset-to-defaults.css";
.test {
box-shadow: 0 0 0 10px red;
}
.reference {
border: solid 10px red;
}