RFR: 8345348: CSS media feature queries [v25]
Michael Strauß
mstrauss at openjdk.org
Tue May 27 17:21:07 UTC 2025
On Tue, 27 May 2025 17:10:19 GMT, Andy Goryachev <angorya at openjdk.org> wrote:
>> Michael Strauß has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 40 commits:
>>
>> - Merge branch 'master' into feature/media-queries
>> - add -fx vendor prefix to prefers-persistent-scrollbars
>> - cssref documentation changes
>> - added test
>> - canonical modifier order
>> - improve synchronization in PreferenceProperties
>> - review comments
>> - added tests
>> - documentation
>> - use serializedId in MediaQuerySerializer
>> - ... and 30 more: https://git.openjdk.org/jfx/compare/9950d33c...b61f1918
>
> modules/javafx.graphics/src/main/java/javafx/scene/Scene.java line 6571:
>
>> 6569: * <caption>Media Feature</caption>
>> 6570: * <tbody>
>> 6571: * <tr><th>Name</th><td><code>-fx-prefers-persistent-scrollbars</code></td></tr>
>
> why the change to -fx for persistent scroll bars and not the others?
The other queries are standardized and universally agreed upon, whereas this one isn't. It's there because we have a corresponding platform preference, so I think a vendor prefix is in order.
-------------
PR Review Comment: https://git.openjdk.org/jfx/pull/1655#discussion_r2109754086
More information about the openjfx-dev
mailing list