RFR: 8345348: CSS Media Queries

Andy Goryachev angorya at openjdk.org
Mon Dec 2 23:35:53 UTC 2024


On Mon, 2 Dec 2024 16:19:46 GMT, Michael Strauß <mstrauss at openjdk.org> wrote:

> Implementation of [CSS media queries](https://gist.github.com/mstr2/cbb93bff03e073ec0c32aac317b22de7).

modules/javafx.graphics/src/main/java/javafx/scene/Scene.java line 1212:

> 1210:      * @since 24
> 1211:      */
> 1212:     private final ObjectProperty<ColorScheme> colorScheme = new MediaProperty<>(

is it possible for two different scenes to have different color schemes or any other properties derived from the platform preferences?

would it make more sense to use the platform preferences properties directly?

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

PR Review Comment: https://git.openjdk.org/jfx/pull/1655#discussion_r1866640976


More information about the openjfx-dev mailing list