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

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

    XMLWordPrintable

    Details

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

      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

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

                Dates

                Created:
                Updated:
                Resolved:
                Imported: