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

Support for CSS attribute selectors

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 8u20
    • javafx
    • JDK 8u20, Win 7 Pro SP1, 64 Bit

      Sometimes one wants to replace text by icons using CSS. For example, using code like...

      .cell {
        -fx-content-display: graphic-only;
      }

      #myFirstCell[text="X"] {
        -fx-graphic: url("x.png");
      }

      #myFirstCell[text="Y"] {
        -fx-graphic: url("y.png");
      }

      ...but to make text-to-icon mappings like the above work, apparently support for CSS attribute selectors is needed. :-)

            Unassigned Unassigned
            mkarg Markus Karg
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Imported: