I have expanded the scope of the proposal to include the :focus-within pseudo-class, which completes the set of focus-related pseudo-classes. The updated text of the proposal can be found in the JBS ticket: https://bugs.openjdk.java.net/browse/JDK-8268225 I'm looking forward to comments.