RFR: 8358450: Viewport characteristics media features [v4]

Michael Strauß mstrauss at openjdk.org
Sun Jul 27 20:15:18 UTC 2025


> 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 incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains five additional commits since the last revision:

 - Merge branch 'master' into feature/media-features-viewport-characteristics
 - Clarify and test handling of text case
 - documentation
 - Replace context awareness flags with EnumSet
 - Add viewport characteristics media features

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

Changes:
  - all: https://git.openjdk.org/jfx/pull/1844/files
  - new: https://git.openjdk.org/jfx/pull/1844/files/8c93b359..0ce8703b

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jfx&pr=1844&range=03
 - incr: https://webrevs.openjdk.org/?repo=jfx&pr=1844&range=02-03

  Stats: 2151 lines in 73 files changed: 1546 ins; 381 del; 224 mod
  Patch: https://git.openjdk.org/jfx/pull/1844.diff
  Fetch: git fetch https://git.openjdk.org/jfx.git pull/1844/head:pull/1844

PR: https://git.openjdk.org/jfx/pull/1844


More information about the openjfx-dev mailing list