mirror of
https://github.com/less/less.js.git
synced 2026-02-06 21:15:14 -05:00
Preserve whitespace in operations
This commit is contained in:
@@ -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 ) {
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user