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

Javafx 21 modena.css -fx-highlight-text-fill bug

XMLWordPrintable

    • generic
    • generic

      A DESCRIPTION OF THE PROBLEM :
      I am trying to style my Javafx 21 program through a css file. I noticed that when the background color is bright colors in the selected text, the text color does not change and remains white in textboxes and textareas. When I examined the modena.css file, I saw an incorrect parameter.

      .text-input:focused {
          ...
          -fx-highlight-text-fill: white;
          ...
      }

      It shoud be "-fx-focused-text-base-color", not "white".

      When I researched this error, I saw that this bug was fixed with the 8u20 version, but now the same error was made again.

      previous bug reports:

      https://bugs.openjdk.org/browse/JDK-8096722

      https://hg.openjdk.org/openjfx/8u-dev/rt/rev/5044fc222f5d



            adev Anupam Dev
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: