[CSS] lexer should not consume @font-face and @import as one token

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 8u40
    • Affects Version/s: 8u40
    • Component/s: javafx

      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.

            Assignee:
            David Grieve
            Reporter:
            David Grieve
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: