Skip to content

Commit 37bc787

Browse files
committed
improved atimport() for other at-rules. ex)@charset
1 parent aadbb62 commit 37bc787

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

test/cases/charset.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
@charset "UTF-8"; /* Set the encoding of the style sheet to Unicode UTF-8*/
2+
@charset 'iso-8859-15'; /* Set the encoding of the style sheet to Latin-9 (Western European languages, with euro sign) */

test/cases/charset.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"stylesheet": {
3+
"rules": [
4+
{
5+
"charset": "\"UTF-8\""
6+
},
7+
{
8+
"charset": "'iso-8859-15'"
9+
}
10+
]
11+
}
12+
}

0 commit comments

Comments
 (0)