-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtest.pass
113 lines (99 loc) · 2.51 KB
/
test.pass
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
/******************************************************************************\
|* These SHOULD be matched *|
\******************************************************************************/
/* A normal class */
.one
.a
/* Classes with dash */
.a-b
.one-two
.one-two-three
.one-two-three-four
.one-two-three-i-n-f-i-n-i-t-y
/* BEM (Block Element Modifier) classes */
// Block Only
.block
.other-block
// Block + Element
.a__b
.a-b__element
.a-b__c-d
.block__element
.other-block__element
.block__other-element
.other-block__other-element
// Block + Modifier
.a--b
.a-b--c
.a--b-c
.a-b--c-d
.block--modifier
.other-block--modifier
.block--other-modifier
.other-block--other-modifier
// Block + Modifier Name + Modifier Value
.a--b--c
.a-b--c--d
.a--b-c--d
.a--b--c-d
.a-b--c--d-e
.a-b--c-d--e
.a--b-c--d-e
.block--modifier--value
.block--modifier--other-value
.other-block--modifier--value
.other-block--modifier--other-value
.block--other-modifier--value
.block--other-modifier--other-value
.other-block--other-modifier--value
.other-block--other-modifier--other-value
// Block + Element + Modifier
.a__b--c
.a__b--c-d
.a__b-c--d
.a__b-c--d-e
.a-b__c--d
.a-b__c--d-e
.a-b__d-e--f
.a-b__d-e--f-g
.block__element--modifier
.block__element--other-modifier
.block__other-element--modifier
.block__other-element--other-modifier
.other-block__element--modifier
.other-block__element--other-modifier
.other-block__other-element--modifier
.other-block__other-element--other-modifier
// Block + Element + Modifier Name + Modifier Value
.a__b--c--d
.a__b--c--d-e
.a__b--c-d--e
.a__b--c-d--e-f
.a__b-c--d--e
.a__b-c--d--e-f
.a__b-c--d-e--f
.a__b-c--d-e--f-g
.a-b__c--d--e
.a-b__c--d--e-f
.a-b__c--d-e--f
.a-b__c--d-e--f-g
.a-b__d-e--f--g
.a-b__d-e--f--g-h
.a-b__d-e--f-g--h
.a-b__d-e--f-g--h-i
.block__element--modifier--value
.block__element--modifier--other-value
.block__element--other-modifier--value
.block__element--other-modifier--other-value
.block__other-element--modifier--value
.block__other-element--modifier--other-value
.block__other-element--other-modifier--value
.block__other-element--other-modifier--other-value
.other-block__element--modifier--value
.other-block__element--modifier--other-value
.other-block__element--other-modifier--value
.other-block__element--other-modifier--other-value
.other-block__other-element--modifier--value
.other-block__other-element--modifier--other-value
.other-block__other-element--other-modifier--value
.other-block__other-element--other-modifier--other-value