Re: [selectors] applying pseudo classes to the label based on the labeled control

> On 27 Nov 2014, at 00:52, Tab Atkins Jr. <> wrote:
> On Wed, Nov 26, 2014 at 2:26 PM, Florian Rivoal <> wrote:
>>> On 20 Nov 2014, at 18:17, Florian Rivoal <> wrote:
>>> Having this apply to the input pseudo classes[2] might make sense as well.
>> However, I forgot to bring this part up. What does everyone think?
> They don't currently apply in either direction, do they?

No, they don’t. The label->control direction is nonsensical, but the control->label is the one I am suggesting could be useful.

You could then style the label of a disabled input, of an invalid input, a required input, etc.

 - Florian

Received on Thursday, 27 November 2014 00:01:15 UTC