You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm slightly confused because the validator does recognise even the last example with their correct token types. Link
I'd be happy to contribute a fix for this, but I got stuck on trying to add new logic to import.js, so I might need a bit of guidance.
The text was updated successfully, but these errors were encountered:
bartveneman
changed the title
@import rule with supports() and/or layer() tokenized as Raw
@import rule with supports() and/or layer() parsed as Raw
Jul 25, 2023
CSSTree doesn't seem to Lex/parse
layer()
andsupports()
in@import
rules.Reproduction
Repro on StackBlitz
For each of these examples the node's prelude is type
Raw
:Validator results
I'm slightly confused because the validator does recognise even the last example with their correct token types. Link
I'd be happy to contribute a fix for this, but I got stuck on trying to add new logic to
import.js
, so I might need a bit of guidance.The text was updated successfully, but these errors were encountered: