~ubuntu-branches/ubuntu/wily/phabricator/wily

« back to all changes in this revision

Viewing changes to src/lint/linter/__tests__/lessc/css-3.lint-test

  • Committer: Package Import Robot
  • Author(s): Richard Sellam
  • Date: 2014-11-01 23:20:06 UTC
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: package-import@ubuntu.com-20141101232006-mvlnp0cil67tsboe
Tags: upstream-0~git20141101/arcanist
Import upstream version 0~git20141101, component arcanist

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
.comma-delimited {
 
2
  text-shadow: -1px -1px 1px red, 6px 5px 5px yellow;
 
3
  -moz-box-shadow: 0pt 0pt 2px rgba(255, 255, 255, 0.4) inset,
 
4
    0pt 4px 6px rgba(255, 255, 255, 0.4) inset;
 
5
  -webkit-transform: rotate(-0.0000000001deg);
 
6
}
 
7
@font-face {
 
8
  font-family: Headline;
 
9
  unicode-range: U+??????, U+0???, U+0-7F, U+A5;
 
10
}
 
11
.other {
 
12
  -moz-transform: translate(0, 11em) rotate(-90deg);
 
13
  transform: rotateX(45deg);
 
14
}
 
15
.item[data-cra_zy-attr1b-ut3=bold] {
 
16
  font-weight: bold;
 
17
}
 
18
p:not([class*="lead"]) {
 
19
  color: black;
 
20
}
 
21
 
 
22
input[type="text"].class#id[attr=32]:not(1) {
 
23
  color: white;
 
24
}
 
25
 
 
26
div#id.class[a=1][b=2].class:not(1) {
 
27
  color: white;
 
28
}
 
29
 
 
30
ul.comma > li:not(:only-child)::after {
 
31
  color: white;
 
32
}
 
33
 
 
34
ol.comma > li:nth-last-child(2)::after {
 
35
  color: white;
 
36
}
 
37
 
 
38
li:nth-child(4n+1),
 
39
li:nth-child(-5n),
 
40
li:nth-child(-n+2) {
 
41
  color: white;
 
42
}
 
43
 
 
44
a[href^="http://"] {
 
45
  color: black;
 
46
}
 
47
 
 
48
a[href$="http://"] {
 
49
  color: black;
 
50
}
 
51
 
 
52
form[data-disabled] {
 
53
  color: black;
 
54
}
 
55
 
 
56
p::before {
 
57
  color: black;
 
58
}
 
59
 
 
60
#issue322 {
 
61
  -webkit-animation: anim2 7s infinite ease-in-out;
 
62
}
 
63
 
 
64
@-webkit-keyframes frames {
 
65
  0% { border: 1px }
 
66
  5.5% { border: 2px }
 
67
  100% { border: 3px }
 
68
}
 
69
 
 
70
@keyframes fontbulger1 {
 
71
  to {
 
72
    font-size: 15px;
 
73
  }
 
74
  from,to {
 
75
    font-size: 12px;
 
76
  }
 
77
  0%,100% {
 
78
    font-size: 12px;
 
79
  }
 
80
}
 
81
 
 
82
.units {
 
83
  font: 1.2rem/2rem;
 
84
  font: 8vw/9vw;
 
85
  font: 10vh/12vh;
 
86
  font: 12vm/15vm;
 
87
  font: 12vmin/15vmin;
 
88
  font: 1.2ch/1.5ch;
 
89
}
 
90
 
 
91
@supports ( box-shadow: 2px 2px 2px black ) or
 
92
          ( -moz-box-shadow: 2px 2px 2px black ) {
 
93
  .outline {
 
94
    box-shadow: 2px 2px 2px black;
 
95
    -moz-box-shadow: 2px 2px 2px black;
 
96
  }
 
97
}
 
98
 
 
99
@-x-document url-prefix(""github.com"") {
 
100
  h1 {
 
101
    color: red;
 
102
  }
 
103
}
 
104
 
 
105
@viewport {
 
106
  font-size: 10px;
 
107
}
 
108
@namespace foo url(http://www.example.com);
 
109
 
 
110
foo|h1 { color: blue; }
 
111
foo|* { color: yellow; }
 
112
|h1 { color: red; }
 
113
*|h1 { color: green; }
 
114
h1 { color: green; }
 
115
.upper-test {
 
116
  UpperCaseProperties: allowed;
 
117
}
 
118
@host {
 
119
  div {
 
120
    display: block;
 
121
  }
 
122
}
 
123
::distributed(input::placeholder) {
 
124
  color: #b3b3b3;
 
125
}
 
126
.shadow ^ .dom,
 
127
body ^^ .shadow {
 
128
  display: done;
 
129
}
 
130
~~~~~~~~~~