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

Andy Goryachev angorya at openjdk.org
Thu Aug 8 15:41:42 UTC 2024


On Thu, 8 Aug 2024 01:44:41 GMT, Michael Strauß <mstrauss at openjdk.org> wrote:

> the current language is already clear that if the property is not `Interpolatable`, there will be no transition.

I am talking about `cssref.html` and not the code.  One should be able to see whether a property is interpolatable from reading the `cssref.html` spec without having to dig into the code.

The word "interpolatable" occurs in `cssref.html` in exactly one place.  What I think the reader should be able to do is to find out whether a property is interpolatable from reading the section about said property in `cssref.html`.

In other words, there should be info about interpolation in the property table:
![Screenshot 2024-08-08 at 08 29 32](https://github.com/user-attachments/assets/cf43ce83-0cb0-43ff-b782-18ac67af1c11)

Since probably most of the properties are "interpolatable" we can mention that the particular property does not support interpolation instead.

Another example: until [JDK-8338002](https://bugs.openjdk.org/browse/JDK-8338002) is implemented, -fx-font* interpolates discretely, which should be reflected in the css spec.

Or am I missing something?

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

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


More information about the openjfx-dev mailing list