RFR: 8268225: Support :focus-visible and :focus-within CSS pseudoclasses [v7]
Jeanette Winzenburg
fastegal at openjdk.java.net
Mon Dec 6 13:49:15 UTC 2021
On Fri, 20 Aug 2021 05:15:49 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:
>
> fixed undeterministic test failures
Just some musings (slightly overwhelmed by the magnitude of the suggested change ;) On first look it sounds like this has 2 separated (though related) parts:
- focus-visible: that's visual sugar (*ducking)
- focus-within: that might be a game changer (or enhancer) for both internal and external usage
>From my current focus - *haha - on cell editing, the latter feels very promising for allowing fine-grained control of defining, implementing and configuring the required, much debated and (until now) unsuccessful tries on "commit-on-focusLost" semantics.
-------------
PR: https://git.openjdk.java.net/jfx/pull/475
More information about the openjfx-dev
mailing list