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

Empty root declaration results in a warning

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P5 P5
    • fx2.1
    • fx2.0
    • javafx
    • None

      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.

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

              Created:
              Updated:
              Resolved:
              Imported: