RFR: 8332895: Support interpolation for backgrounds and borders [v18]

Michael Strauß mstrauss at openjdk.org
Wed Aug 7 16:46:39 UTC 2024


On Wed, 7 Aug 2024 16:21:11 GMT, Andy Goryachev <angorya at openjdk.org> wrote:

> This transition does not interpolate linearly. Should it?
> 
> ```
> .button {
> }
> 
> .button:hover {
>   -fx-font-size:200%;
>   transition: 
>     -fx-font-size 2s linear;
> }
> ```

`Font` is not `Interpolatable`, and its style converter does not support reconstruction. Thus it falls back to discrete interpolation. I'll file a new ticket to track this enhancement.

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

PR Comment: https://git.openjdk.org/jfx/pull/1522#issuecomment-2273888259


More information about the openjfx-dev mailing list