Skip to content

Commit b5f968b

Browse files
simonsmithgiuseppeg
authored andcommitted
Update encapsulation fixture (#61)
This is the result of a bug being fixed in [email protected] postcss/postcss-import#211
1 parent fc91c46 commit b5f968b

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

test/fixtures/encapsulation.out.css

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
word-spacing: normal;
4040
word-wrap: normal;
4141
}
42+
4243
.Component,
4344
.Component-item,
4445
.Encapsulation,
@@ -97,42 +98,53 @@
9798
width: auto;
9899
z-index: auto;
99100
}
101+
100102
/** @define Component */
103+
104+
.u-img {
105+
border-radius: 50%;
106+
}
107+
101108
.Component {
102109
background: rgba(255, 0, 0, 0.9);
103110
font-size: 26px;
104111
width: 16.66667%;
105112
}
113+
106114
.Component-item {
107115
display: flex;
108116

109117
color: green;
110118
}
119+
111120
@media (min-width: 200px) {
112121

113122
.Component-item {
114123
color: red;
115124
}
116125
}
117-
.u-img {
118-
border-radius: 50%;
119-
}
126+
120127
.Encapsulation {
121128
color: red;
122129
width: 50px;
123130
}
131+
124132
.Encapsulation-descendant {
125133
background-color: #eee;
126134
}
135+
127136
.Encapsulation-descendant:hover {
128137
background-color: #f00;
129138
}
139+
130140
.Encapsulation-descendant[aria-hidden="true"] {
131141
display: none;
132142
}
143+
133144
.Encapsulation.is-inState {
134145
background-color: red;
135146
}
147+
136148
.Encapsulation-item,
137149
.Encapsulation span {
138150
-webkit-filter: blur(10px);

0 commit comments

Comments
 (0)