JDK-8313956 is just a simple bug, it's alrady fixed in PR 1210 without any new API.
I'm only referencing this PR because I think it shows that there can be confusion that `focus-within` can match a node that doesn't contain the focus owner. This is not a bug, it's by design. The question is whether we want to support the scenario where a node should only match when it contains the focus owner. On Fri, Aug 18, 2023 at 7:30 PM Andy Goryachev <andy.goryac...@oracle.com> wrote: > > Michael: > > > > Thank you for clarifications! So, are these new properties really required to > fix https://bugs.openjdk.org/browse/JDK-8313956, or it can be fixed by > improving event handling? > > > > -andy