-
@argyleink #TIL. There should probably be a mention of this only applying to user-editable (as in an input field or
contenteditable
) elements (the section before mentions this: drafts.csswg.org/css-pseudo-4/#selectordef-selection).
contenteditable
) elements (the section before mentions this: drafts.csswg.org/css-pseudo-4/#selectordef-selection).