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

CSS does not support multiselectors

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 8
    • 7u6
    • javafx
    • Mac OS Mountain Lion

      I have a stack pane containing two buttons. The stack pane has style class "my-pane" and the two buttons have style classes "on" and "off". I am able to style these buttons with the following style sheet:

      .my-pane .on {
      -fx-text-fill: white;
      }

      .my-pane .off {
      -fx-text-fill: white;
      }


      This should of course be equivalent to

      .my-pane .on, .my-pane .off {
      -fx-text-fill: white;
      }

      however, for some reason that syntax does not seem to work.

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

              Created:
              Updated:
              Resolved:
              Imported: