Skip to content

Commit a6b5c12

Browse files
committed
[CLEANUP] Use spaces for indenting the fixture CSS files
This makes editing the fixture files a bit easier as all other files in this project also use spaces for indentation, not tabs. Note: This has no effect on CSS is rendered (which still defaults to tabs at the moment).
1 parent 8cd39f4 commit a6b5c12

18 files changed

+84
-84
lines changed

tests/fixtures/-fault-tolerance.css

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
.test1 {
2-
//gaga: hello;
2+
//gaga: hello;
33
}
44

55
.test2 {
6-
*hello: 1;
7-
hello: 2.2;
8-
hello: 2000000000000.2;
6+
*hello: 1;
7+
hello: 2.2;
8+
hello: 2000000000000.2;
99
}
1010

1111
#test {
12-
#hello: 1}
12+
#hello: 1}
1313

1414
#test2 {
15-
help: none;
15+
help: none;

tests/fixtures/1readme.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
font-family: "CrassRoots";
55
src: url("../media/cr.ttf")
66
}
7-
7+
88
html, body {
9-
font-size: 1.6em
9+
font-size: 1.6em
1010
}

tests/fixtures/2readme.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#header {
2-
margin: 10px 2em 1cm 2%;
3-
font-family: Verdana, Helvetica, "Gill Sans", sans-serif;
4-
color: red !important;
2+
margin: 10px 2em 1cm 2%;
3+
font-family: Verdana, Helvetica, "Gill Sans", sans-serif;
4+
color: red !important;
55
}

tests/fixtures/atrules.css

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
@charset "utf-8";
22

33
@font-face {
4-
font-family: "CrassRoots";
5-
src: url("../media/cr.ttf")
4+
font-family: "CrassRoots";
5+
src: url("../media/cr.ttf")
66
}
77

88
html, body {
9-
font-size: -0.6em
9+
font-size: -0.6em
1010
}
1111

1212
@keyframes mymove {
13-
from { top: 0px; }
14-
to { top: 200px; }
13+
from { top: 0px; }
14+
to { top: 200px; }
1515
}
1616

1717
@-moz-keyframes some-move {
18-
from { top: 0px; }
19-
to { top: 200px; }
18+
from { top: 0px; }
19+
to { top: 200px; }
2020
}
2121

2222
@supports ( (perspective: 10px) or (-moz-perspective: 10px) or (-webkit-perspective: 10px) or (-ms-perspective: 10px) or (-o-perspective: 10px) ) {
23-
body {
24-
font-family: 'Helvetica';
25-
}
23+
body {
24+
font-family: 'Helvetica';
25+
}
2626
}
2727

2828
@page :pseudo-class {
@@ -54,4 +54,4 @@ html, body {
5454

5555
@region-style #intro {
5656
p { color: blue; }
57-
}
57+
}

tests/fixtures/calc.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
div { width: calc(100% / 4); }
22
div { margin-top: calc(-120% - 4px); }
33
div {
4-
height: -webkit-calc(9/16 * 100%)!important;
5-
width: -moz-calc((50px - 50%)*2);
4+
height: -webkit-calc(9/16 * 100%)!important;
5+
width: -moz-calc((50px - 50%)*2);
66
}
77
div { width: calc(50% - ( ( 4% ) * 0.5 ) ); }

tests/fixtures/case-insensitivity.css

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
}
77

88
#myid {
9-
CaSe: insensitive !imPORTANT;
10-
frequency: 30hz;
11-
font-size: 1EM;
12-
color: RGB(255, 255, 0);
13-
color: hSL(40, 40%, 30%);
14-
font-Family: Arial; /* The value needs to remain capitalized */
15-
}
9+
CaSe: insensitive !imPORTANT;
10+
frequency: 30hz;
11+
font-size: 1EM;
12+
color: RGB(255, 255, 0);
13+
color: hSL(40, 40%, 30%);
14+
font-Family: Arial; /* The value needs to remain capitalized */
15+
}

tests/fixtures/colortest.css

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
11
#mine {
2-
color: red;
3-
border-color: rgb(10, 100, 230);
4-
border-color: rgba(10, 100, 231, 0.3);
5-
outline-color: #222;
6-
background-color: #232323;
2+
color: red;
3+
border-color: rgb(10, 100, 230);
4+
border-color: rgba(10, 100, 231, 0.3);
5+
outline-color: #222;
6+
background-color: #232323;
77
}
88

99
#yours {
10-
background-color: hsl(220, 10%, 220%);
11-
background-color: hsla(220, 10%, 220%, 0.3);
12-
outline-color: #22;
10+
background-color: hsl(220, 10%, 220%);
11+
background-color: hsla(220, 10%, 220%, 0.3);
12+
outline-color: #22;
1313
}
1414

1515
#variables {
16-
background-color: rgb(var(--some-rgb));
17-
background-color: rgb(var(--r), var(--g), var(--b));
18-
background-color: rgb(255, var(--g), var(--b));
19-
background-color: rgb(255, 255, var(--b));
20-
background-color: rgb(255, var(--rg));
16+
background-color: rgb(var(--some-rgb));
17+
background-color: rgb(var(--r), var(--g), var(--b));
18+
background-color: rgb(255, var(--g), var(--b));
19+
background-color: rgb(255, 255, var(--b));
20+
background-color: rgb(255, var(--rg));
2121

22-
background-color: hsl(var(--some-hsl));
22+
background-color: hsl(var(--some-hsl));
2323
}
2424

2525
#variables-alpha {
26-
background-color: rgba(var(--some-rgb), 0.1);
27-
background-color: rgba(var(--some-rg), 255, 0.1);
28-
background-color: hsla(var(--some-hsl), 0.1);
26+
background-color: rgba(var(--some-rgb), 0.1);
27+
background-color: rgba(var(--some-rg), 255, 0.1);
28+
background-color: hsla(var(--some-hsl), 0.1);
2929
}

tests/fixtures/escaped-tokens.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
* Special case function-like tokens, with an escape backslash followed by a non-newline and non-hex digit character, should be parsed as the appropriate \Sabberworm\CSS\Value\ type
33
*/
44
body {
5-
background: u\rl("//example.org/picture.jpg");
6-
height: ca\lc(100% - 1px);
7-
}
5+
background: u\rl("//example.org/picture.jpg");
6+
height: ca\lc(100% - 1px);
7+
}

tests/fixtures/ie.css

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.nav-thumb-wrapper:hover img, a.activeSlide img {
2-
filter: alpha(opacity=100);
3-
-moz-opacity: 1;
4-
-khtml-opacity: 1;
5-
opacity: 1;
6-
}
2+
filter: alpha(opacity=100);
3+
-moz-opacity: 1;
4+
-khtml-opacity: 1;
5+
opacity: 1;
6+
}

tests/fixtures/inner-color.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
test {
2-
background: -webkit-gradient(linear, 0 0, 0 bottom, from(#006cad), to(hsl(202, 100%, 49%)));
3-
}
2+
background: -webkit-gradient(linear, 0 0, 0 bottom, from(#006cad), to(hsl(202, 100%, 49%)));
3+
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
div {
2-
display: inline-block;
3-
display:
2+
display: inline-block;
3+
display:
44
}

tests/fixtures/namespaces.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010

1111

1212
foo|test {
13-
gaga: 1;
13+
gaga: 1;
1414
}
1515

1616
|test {
17-
gaga: 2;
18-
}
17+
gaga: 2;
18+
}

tests/fixtures/nested.css

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
html {
2-
some: -test(val1);
2+
some: -test(val1);
33
}
44

55
html {
6-
some-other: -test(val1);
6+
some-other: -test(val1);
77
}
88

99
@media screen {
10-
html {
11-
some: -test(val2);
12-
}
10+
html {
11+
some: -test(val2);
12+
}
1313
}
1414

1515
#unrelated {
16-
other: yes;
16+
other: yes;
1717
}

tests/fixtures/slashed.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
.test {
2-
font: 12px/1.5 Verdana, Arial, sans-serif;
3-
border-radius: 5px 10px 5px 10px / 10px 5px 10px 5px;
2+
font: 12px/1.5 Verdana, Arial, sans-serif;
3+
border-radius: 5px 10px 5px 10px / 10px 5px 10px 5px;
44
}

tests/fixtures/specificity.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
.help:hover,
44
li.green,
55
ol li::before {
6-
font-family: Helvetica;
6+
font-family: Helvetica;
77
}

tests/fixtures/url.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
body { background: #FFFFFF url("https://somesite.com/images/someimage.gif") repeat top center; }
22
body {
3-
background-url: url("https://somesite.com/images/someimage.gif");
4-
}
3+
background-url: url("https://somesite.com/images/someimage.gif");
4+
}

tests/fixtures/values.css

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
#header {
2-
margin: 10px 2em 1cm 2%;
3-
font-family: Verdana, Helvetica, "Gill Sans", sans-serif;
4-
font-size: 10px;
5-
color: red !important;
6-
background-color: green;
7-
background-color: rgba(0,128,0,0.7);
8-
frequency: 30Hz;
2+
margin: 10px 2em 1cm 2%;
3+
font-family: Verdana, Helvetica, "Gill Sans", sans-serif;
4+
font-size: 10px;
5+
color: red !important;
6+
background-color: green;
7+
background-color: rgba(0,128,0,0.7);
8+
frequency: 30Hz;
99
transform: rotate(1turn);
1010
}
1111

1212
body {
13-
color: green;
14-
font: 75% "Lucida Grande", "Trebuchet MS", Verdana, sans-serif;
13+
color: green;
14+
font: 75% "Lucida Grande", "Trebuchet MS", Verdana, sans-serif;
1515
}

tests/fixtures/whitespace.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
.test {
2-
background-image : url ( 4px ) ;
2+
background-image : url ( 4px ) ;
33
}

0 commit comments

Comments
 (0)