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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 8u40
    • 8u40
    • javafx

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:
                Imported: