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

Empty root declaration results in a warning

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P5
    • Resolution: Duplicate
    • Affects Version/s: fx2.0
    • Fix Version/s: fx2.1
    • Component/s: javafx
    • Labels:
      None

      Description

      If I add an empty root declaration to my CSS file like this

      root {

      }

      I get this warning

      WARNING: com.sun.javafx.css.parser.CSSParser declaration Expected IDENT at file:/C:/Users/Randahl/Dropbox/Development/wefend/ui/target/classes/styling/wefend.css[16,2]

      where the location 16,2 is actually right after the ending curly bracket.

      I think this warning must be wrong - as far as I know, there is no requirement in CSS to not have empty declarations.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dgrieve David Grieve
              Reporter:
              risaksen Randahl Isaksen
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported: