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

Michael Strauß mstrauss at openjdk.org
Thu Jul 7 00:07:28 UTC 2022


On Wed, 6 Jul 2022 23:36:26 GMT, Michael Strauß <mstrauss at openjdk.org> wrote:

>> This PR adds the `Node.focusVisible` and `Node.focusWithin` properties, as well as the corresponding `:focus-visible` and `:focus-within` CSS pseudo-classes.
>
> Michael Strauß has updated the pull request incrementally with one additional commit since the last revision:
> 
>   address review comments

I've updated the CSR as requested.

> One more comment: Have you addressed all questions from @kleopatra ?

The question was about a parent that is inserted above a focused node in the scene graph. Currently, a focused node remains the focus owner of the scene, even if it is removed from the scene graph in this way. Independent of whether that's a bug, I don't think that question is relevant for this particular PR. We might create a follow-up ticket to investigate the issue and determine whether it's a bug or not.

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

PR: https://git.openjdk.org/jfx/pull/475


More information about the openjfx-dev mailing list