Closed ianthedev closed 5 years ago
Currently, parsing the text of this style sheet:
<style> @import url('landscape.css') screen and (orientation: landscape); </style>
is getting this result:
{ "type": "root", "nodes": [ { "type": "atrule", "name": "import", "params": "url('landscape.css') screen and (orientation: landscape)" } ] }
The @import at-rule's url and media parameter aren't being separated in the parsed result. Is that working as intended?
@import
Yeap. Because at-rule params syntax could be very different (especially in plugins with custom syntax and unknown at-rules).
Currently, parsing the text of this style sheet:
is getting this result:
The
@import
at-rule's url and media parameter aren't being separated in the parsed result. Is that working as intended?