Preserve whitespace in operations

This commit is contained in:
Luke Page
2013-02-02 15:30:19 +00:00
parent c27922890d
commit 2ffdefa248
6 changed files with 26 additions and 20 deletions

View File

@@ -73,12 +73,12 @@ p::before {
}
}
.units {
font: 1.2rem / 2rem;
font: 8vw / 9vw;
font: 10vh / 12vh;
font: 12vm / 15vm;
font: 12vmin / 15vmin;
font: 1.2ch / 1.5ch;
font: 1.2rem/2rem;
font: 8vw/9vw;
font: 10vh/12vh;
font: 12vm/15vm;
font: 12vmin/15vmin;
font: 1.2ch/1.5ch;
}
@supports ( box-shadow: 2px 2px 2px black ) or
( -moz-box-shadow: 2px 2px 2px black ) {

View File

@@ -50,8 +50,8 @@ p + h1 {
}
#shorthands {
border: 1px solid #000;
font: 12px / 16px Arial;
font: 100% / 16px Arial;
font: 12px/16px Arial;
font: 100%/16px Arial;
margin: 1px 0;
padding: 0 auto;
}
@@ -59,7 +59,7 @@ p + h1 {
margin: 0;
padding: 1px 0 2px 0;
font: normal small / 20px 'Trebuchet MS', Verdana, sans-serif;
font: 0 / 0 a;
font: 0/0 a;
border-radius: 5px / 10px;
background: url("img.jpg") center / 100px;
background: #ffffff url(image.png) center / 1px 100px repeat-x scroll content-box padding-box;

View File

@@ -73,8 +73,8 @@ body {
width: "{";
}
.slash-vs-math {
border-radius: 2px / 5px;
border-radius: 5px / 10px;
border-radius: 2px/5px;
border-radius: 5px/10px;
border-radius: 6px;
}
.comma-vs-semi-colon {

View File

@@ -32,7 +32,7 @@
.nested-parens {
width: 2 * (4 * (2 + (1 + 6))) - 1;
height: ((2+3)*(2+3) / (9-4)) + 1;
height: ((2 + 3) * (2 + 3) / (9 - 4)) + 1;
}
.mixed-units {