3 ms·
One thing that’s been omitted is the :dir() pseudoclass[1] which has been inexplicably ignored by Webkit and Blink. Yeah, it can sort of be replicated by a desc
by robin_reala 7y ago
One thing that’s been omitted is the :dir() pseudoclass[1] which has been inexplicably ignored by Webkit and Blink. Yeah, it can sort of be replicated by a descendant selector, but it’d be so much more obvious and selfcontained to select an element based on its own calculated text direction; something that’s currently only possible in Firefox.
[1] https://www.w3.org/TR/selectors/#the-dir-pseudo https://www.w3.org/TR/selectors/#the-dir-pseudo