Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8093532

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8u40
    • 8u40
    • 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.

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

              Created:
              Updated:
              Resolved:
              Imported: