[Bug 15413] <label> :checked state should reflect the input's one

https://www.w3.org/Bugs/Public/show_bug.cgi?id=15413

Marat Tanalin | tanalin.com <mtanalin@yandex.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mtanalin@yandex.ru

--- Comment #1 from Marat Tanalin | tanalin.com <mtanalin@yandex.ru> 2012-01-05 22:37:21 UTC ---
Indeed, it would be nice.

Currently we are forced to place LABEL exactly after INPUT and use
adjacent-sibling combinator to style LABEL:

    INPUT + LABEL {...}

Someone may say that it's not about HTML, but about CSS. However, same way as
we have input.checked JS property, we could have label.checked JS-property. CSS
could then just add corresponding selector to reflect this.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Thursday, 5 January 2012 22:37:33 UTC