On Wed, 24 Jun 2026 18:57:12 GMT, Ziad El Midaoui <[email protected]>
wrote:
>> I really don't like this ad-hoc way of testing some random aspect of a style
>> theme. Maybe we should have a way to test themes more systematically, for
>> example by comparing a scene graph with a style theme against a known
>> reference image. We could probably use the headless platform to render a
>> scene graph in a platform-independent way. Of course, this would also
>> require us to have some tooling to produce the reference images.
>
> The test fails when setting
> `Application.setUserAgentStylesheet(Application.STYLESHEET_CASPIAN);` to use
> caspian stylesheet as in `caspian.css` we have same issue as modena it sets
> the value of `-fx-prompt-text-fill` to transparent
>
>
> .text-field:focused {
> ...
> -fx-prompt-text-fill: transparent;
> }
> .text-area:focused {
> ...
> -fx-prompt-text-fill: transparent;
> }
the test succeeds when removing those lines as we did in modena
-------------
PR Review Comment: https://git.openjdk.org/jfx/pull/2184#discussion_r3469542161