CSS Reference Guide false: .tab > .tab-label

XMLWordPrintable

    • Type: Bug
    • Resolution: Not an Issue
    • Priority: P4
    • 8u60
    • Affects Version/s: 8u40
    • Component/s: javafx
    • Environment:

      JDK 8u40, Win 7 Pro SP1, 64 Bit

      The CSS Reference Guide (http://docs.oracle.com/javase/8/javafx/api/javafx/scene/doc-files/cssref.html#tabpane) says that the following hierarchy is valid:

      {code}
      tab — Tab
         tab-label — Label
         tab-close-button — StackPane
      {code}

      Actually this is wrong. A short test using 8u40 provides the following result:

      .tab > .tab-label ==> Does not affect the header label.
      .tab > * > .tab-label ==> Affects the header label.

      Hence the guide is wrong as apparently some intermediate class is missing in the outline of .tab content. this is very confusing and unexpected.

            Assignee:
            Jonathan Giles
            Reporter:
            Markus Karg
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: