Skip to content

Commit 2e34607

Browse files
test: duplicate selectors with escaping and not (css-modules#11)
1 parent 3080ab2 commit 2e34607

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

test/test-cases/export-class/expected.css

+9
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,14 @@
2222
color: fuchsia;
2323
}
2424

25+
._input__u-m\00002b {
26+
color: maroon;
27+
}
28+
29+
#_input__u-m\+ {
30+
color: navy;
31+
}
32+
2533
@media (max-width: 520px) {
2634
/* selector doubled to increase specificity */
2735
._input__exportName._input__exportName {
@@ -39,5 +47,6 @@
3947
::::: _input__::::;
4048
1a2b3c: _input__1a2b3c;
4149
𝌆: _input__𝌆;
50+
u-m+: _input__u-m+;
4251
newExport: _input__newExport;
4352
}

test/test-cases/export-class/source.css

+8
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,14 @@
2222
color: fuchsia;
2323
}
2424

25+
:local(.u-m\00002b) {
26+
color: maroon;
27+
}
28+
29+
:local(#u-m\+) {
30+
color: navy;
31+
}
32+
2533
@media (max-width: 520px) {
2634
/* selector doubled to increase specificity */
2735
:local(.exportName):local(.exportName) {

0 commit comments

Comments
 (0)