> 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).
Michael Strauß 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 four additional commits since the last revision: - Merge branch 'master' into feature/conditional-feature-query - cssref wording - add doc links - ConditionalFeature media queries ------------- Changes: - all: https://git.openjdk.org/jfx/pull/2161/files - new: https://git.openjdk.org/jfx/pull/2161/files/507acb07..2c8137d7 Webrevs: - full: https://webrevs.openjdk.org/?repo=jfx&pr=2161&range=02 - incr: https://webrevs.openjdk.org/?repo=jfx&pr=2161&range=01-02 Stats: 56504 lines in 338 files changed: 12420 ins; 31605 del; 12479 mod Patch: https://git.openjdk.org/jfx/pull/2161.diff Fetch: git fetch https://git.openjdk.org/jfx.git pull/2161/head:pull/2161 PR: https://git.openjdk.org/jfx/pull/2161
