RFR: 8268225: Support :focus-visible and :focus-within CSS pseudoclasses [v2]

Jeanette Winzenburg fastegal at openjdk.java.net
Mon Dec 6 13:10:16 UTC 2021


On Mon, 2 Aug 2021 13:20:29 GMT, Michael Strauß <mstrauss at openjdk.org> wrote:

> > 3. I think the way you are propagating `focusWithin` might not work if nodes are added or removed from the scene graph.
> 
> I've added a test for this case: `FocusTest.testFocusStatesAreClearedFromFormerParentsOfFocusedNode`.

might also need a test that verifies the focusWithin of a parent added somewhere above the focused node? hmm .. or maybe not, that would require to re-arrange a complete subtree ..

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

PR: https://git.openjdk.java.net/jfx/pull/475


More information about the openjfx-dev mailing list