On Sun, 3 May 2026 06:49:40 GMT, Michael Strauß <[email protected]> wrote:

> This PR adds the `-fx-supports-conditional-feature` media query, which allows 
> applications to adapt their stylesheets to different platforms with varying 
> conditional feature support. Currently, the built-in themes use hard-coded 
> logic to include or exclude conditional-feature stylesheets. The new media 
> query allows us to potentially remove the hard-coded logic in the future, and 
> gives third-party themes an API to query conditional feature support.
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

This pull request has now been integrated.

Changeset: 8020a859
Author:    Michael Strauß <[email protected]>
URL:       
https://git.openjdk.org/jfx/commit/8020a8595426c475ee29a1d09f0abdde6a58e1cf
Stats:     155 lines in 4 files changed: 145 ins; 0 del; 10 mod

8374804: ConditionalFeature media queries

Reviewed-by: angorya, mhanl

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

PR: https://git.openjdk.org/jfx/pull/2161

Reply via email to