RFR: 8355012: JavaFX modena.css -fx-highlight-text-fill bug [v4]
duke
duke at openjdk.org
Wed May 7 14:33:24 UTC 2025
On Mon, 5 May 2025 21:28:08 GMT, Ziad El Midaoui <zelmidaoui at openjdk.org> wrote:
>> The issue was happening because `-fx-highlight-text-fill` was set to white , so when the background color is bright (>60% brightness ) the text is not visible , the solution is to change the value to be dynamically set depending on the level of brightness of the background this is done by `-fx-focused-text-base-color` .
>
> Ziad El Midaoui has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains five additional commits since the last revision:
>
> - Merge branch 'openjdk:master' into 8355012.modenaCss
> - Added standard copyright, javadoc and changed file name to TextInputControlModenaTest
> - Added standard copyright, javadoc and changed file name to TextInputControlModenaTest
> - Created ModenaTest
> - Changed value of -fx-highlight-text-fill to be dynamically set and added tests
@Ziad-Mid
Your change (at version e3ad18c0654b6bac0b16f0001d6a35049676b062) is now ready to be sponsored by a Committer.
-------------
PR Comment: https://git.openjdk.org/jfx/pull/1801#issuecomment-2858819581
More information about the openjfx-dev
mailing list