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

Wrong description of "derive()" in CSS reference

XMLWordPrintable

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

      The description of the CSS reference (http://docs.oracle.com/javase/8/javafx/api/javafx/scene/doc-files/cssref.html#typecolor) for "derive" says:

      "A value of -100% means completely black, 0% means no change in brightness, and 100% means completely white."

      This is wrong. I tried it out using derive(red, 125%) and still it is not "completely white" but just "pale red"!

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

              Created:
              Updated:
              Imported: