CSS Transitions
Kevin Rushforth
kevin.rushforth at oracle.com
Mon Jul 24 23:17:44 UTC 2023
This seems like it might be a useful feature, if enough applications
would want to take advantage of it.
If we proceed, I have a couple comments:
* All of our existing CSS attributes use "-fx-" as a prefix. My
preference would be to do that for transitions as well, absent a
compelling reason to do otherwise. I note that you say in your design
doc that transition "...is special and distinct from all other CSS
properties". Is that the reason you didn't prefix it with "-fx-"? Is it
a sufficient reason?
* Initially, I wondered about your providing the CSS attributes without
corresponding API on the scene graph objects in question, but I think
that's a very good idea.
* This will need a lot of testing since it touches the CSS attribute
resolution mechanism.
-- Kevin
On 7/17/2023 12:23 PM, Michael Strauß wrote:
> Here's an updated summary of the proposed feature:
> https://gist.github.com/mstr2/c72f8c9faa87de14926978f517a6018a
>
> And here's the full implementation:
> https://github.com/openjdk/jfx/pull/870
>
> I'm interested in hearing from you whether you think this is a useful
> feature and whether the proposed API is a good match for JavaFX.
More information about the openjfx-dev
mailing list