Skip to content

Commit

Permalink
test: duplicate selectors with escaping and not (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
evilebottnawi authored Mar 4, 2019
1 parent 3080ab2 commit 2e34607
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test/test-cases/export-class/expected.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@
color: fuchsia;
}

._input__u-m\00002b {
color: maroon;
}

#_input__u-m\+ {
color: navy;
}

@media (max-width: 520px) {
/* selector doubled to increase specificity */
._input__exportName._input__exportName {
Expand All @@ -39,5 +47,6 @@
::::: _input__::::;
1a2b3c: _input__1a2b3c;
𝌆: _input__𝌆;
u-m+: _input__u-m+;
newExport: _input__newExport;
}
8 changes: 8 additions & 0 deletions test/test-cases/export-class/source.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@
color: fuchsia;
}

:local(.u-m\00002b) {
color: maroon;
}

:local(#u-m\+) {
color: navy;
}

@media (max-width: 520px) {
/* selector doubled to increase specificity */
:local(.exportName):local(.exportName) {
Expand Down

0 comments on commit 2e34607

Please sign in to comment.