RFR: 8358450: Viewport characteristics media features [v9]

Kevin Rushforth kcr at openjdk.org
Wed Nov 26 23:04:04 UTC 2025


On Tue, 7 Oct 2025 16:10:36 GMT, Michael Strauß <mstrauss at openjdk.org> wrote:

>> Implementation of [viewport characteristics media features](https://www.w3.org/TR/mediaqueries-5/#mf-viewport-characteristics):
>> * `width`
>> * `height`
>> * `aspect-ratio`: width / height
>> * `orientation`: `portrait`, `landscape`
>> * `display-mode`: `fullscreen`, `standalone` (note: `browser` and `minimal-ui` are not supported in JavaFX)
>
> Michael Strauß has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 13 commits:
> 
>  - resolve merge conflicts
>  - Merge branch 'master' into feature/media-features-viewport-characteristics
>    
>    # Conflicts:
>    #	modules/javafx.graphics/src/test/java/test/javafx/css/CssParser_mediaQuery_Test.java
>  - update cssref.html
>  - Merge branch 'master' into feature/media-features-viewport-characteristics
>  - whitespace, add final modifier
>  - Merge branch 'master' into feature/media-features-viewport-characteristics
>  - Refactor context awareness
>  - Merge branch 'master' into feature/media-features-viewport-characteristics
>  - Merge branch 'master' into feature/media-features-viewport-characteristics
>  - Clarify and test handling of text case
>  - ... and 3 more: https://git.openjdk.org/jfx/compare/e8820e24...3dabf1e0

It would be nice to get this in for JavaFX 26, so will look at it soon.

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

PR Comment: https://git.openjdk.org/jfx/pull/1844#issuecomment-3583489922


More information about the openjfx-dev mailing list