On Mon, 8 Jun 2026 18:44:28 GMT, Ziad El Midaoui <[email protected]> wrote:

> This fixes a `TextInputControl` styling issue where prompt text is hidden 
> when an empty text input control receives focus.
> The fix removes the focused-state override `-fx-prompt-text-fill: 
> transparent;` so focused empty text inputs continue to use the normal Modena 
> prompt text fill.
> The prompt text now stay visible when a text input control is focused.
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

modules/javafx.controls/src/test/java/test/com/sun/javafx/scene/control/skin/modena/TextInputControlModenaTest.java
 line 102:

> 100:     }
> 101: 
> 102:     private static Collection<Class<? extends TextInputControl>> 
> promptTextControls() {

there is already `parameters()` with these values in L62

-------------

PR Review Comment: https://git.openjdk.org/jfx/pull/2184#discussion_r3375671530

Reply via email to