RFR: 8342703: CSS transition is not started when initial value was not specified [v3]

Michael Strauß mstrauss at openjdk.org
Tue Jan 7 21:16:45 UTC 2025


On Tue, 7 Jan 2025 20:57:32 GMT, Andy Goryachev <angorya at openjdk.org> wrote:

>> 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()

I'll see whether I can refactor these methods a bit, but not as part of this PR.

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

PR Review Comment: https://git.openjdk.org/jfx/pull/1607#discussion_r1906046323


More information about the openjfx-dev mailing list