RFR: 8342703: CSS transition is not started when initial value was not specified [v3]
Andy Goryachev
angorya at openjdk.org
Tue Jan 7 21:00:47 UTC 2025
On Tue, 7 Jan 2025 20:52:15 GMT, Andy Goryachev <angorya at openjdk.org> wrote:
>> I don't think this would work, since we need the `Node`-typed `node` variable as an argument for `NodeHelper.findTransitionDefinition`, so we can't remove the `instanceof` test here.
>
> NodeHelper:
>
>
> public static boolean isInitialCssState(Object node) {
> if(node instanceof Node n) {
> return nodeAccessor.isInitialCssState(n);
> }
> return false;
> }
or better yet, move the instanceof and get initialCssState logic to NodeHelper.findTransitionDefinition()
-------------
PR Review Comment: https://git.openjdk.org/jfx/pull/1607#discussion_r1906031693
More information about the openjfx-dev
mailing list