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 looks like a nice addition. I'll review the CSR, but I hope others will 
review the code.

Reviewers: @andy-goryachev-oracle , ???

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

PR Comment: https://git.openjdk.org/jfx/pull/2161#issuecomment-4492237950

Reply via email to