RFR: 8311895: CSS Transitions [v23]

Michael Strauß mstrauss at openjdk.org
Wed Jun 5 21:59:13 UTC 2024


> Implementation of [CSS Transitions](https://www.w3.org/TR/css-transitions-1/).
> 
> ### Future enhancements
> CSS transition support for backgrounds and borders: #1471 
> 
> ### Limitations
> This implementation supports both shorthand and longhand notations for the `transition` property. However, due to limitations of JavaFX CSS, mixing both notations doesn't work:
> 
> .button {
>     transition: -fx-background-color 1s;
>     transition-easing-function: linear;
> }
> 
> This issue should be addressed in a follow-up enhancement.

Michael Strauß has updated the pull request incrementally with one additional commit since the last revision:

  link to easing function images in scene

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

Changes:
  - all: https://git.openjdk.org/jfx/pull/870/files
  - new: https://git.openjdk.org/jfx/pull/870/files/10c06a97..29f43ed6

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jfx&pr=870&range=22
 - incr: https://webrevs.openjdk.org/?repo=jfx&pr=870&range=21-22

  Stats: 92 lines in 5 files changed: 0 ins; 88 del; 4 mod
  Patch: https://git.openjdk.org/jfx/pull/870.diff
  Fetch: git fetch https://git.openjdk.org/jfx.git pull/870/head:pull/870

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


More information about the openjfx-dev mailing list