W3C home > Mailing lists > Public > www-style@w3.org > November 2014

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

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 26 Nov 2014 16:06:43 -0800
Message-ID: <CAAWBYDDFZXHB=zmSe=7LkLYYNkMfjHsRLd0cVsyV-1iHeHSJiw@mail.gmail.com>
To: Florian Rivoal <florian@rivoal.net>
Cc: www-style list <www-style@w3.org>
On Wed, Nov 26, 2014 at 4:00 PM, Florian Rivoal <florian@rivoal.net> wrote:
>> On 27 Nov 2014, at 00:52, Tab Atkins Jr. <jackalmage@gmail.com> wrote:
>> On Wed, Nov 26, 2014 at 2:26 PM, Florian Rivoal <florian@rivoal.net> wrote:
>>>> On 20 Nov 2014, at 18:17, Florian Rivoal <florian@rivoal.net> 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.

Yeah, I get the use-cases.  Makes sense to suggest, I suppose.

Received on Thursday, 27 November 2014 00:07:30 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:26 UTC