On Tue, 7 Jan 2025 20:52:15 GMT, Andy Goryachev <ango...@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