The css lexer consumes @font-face and @import as one token. It should be tokenized as an AT_KEYWORD token followed by an IDENT. This is how it is specified in the W3C syntax. Fixing this would greatly simplify the code in the lexer that handles @ rules, and will allow better handling of @ rules in the parser.
- blocks
-
JDK-8097789 [CSS] Add ability to resolve the URL given with an @import statement relative to the FX runtime
- Resolved