On Nov 10, 2014, at 2:48 PM, Boris Zbarsky <[email protected]> wrote:

> On 11/10/14, 5:31 PM, Florian Rivoal wrote:
>> That said, the labeled control also maintains a list of references to the 
>> associated labels, so there is no particular difficulty involved in finding 
>> them.
> 
> The difficulty is not finding them.  The difficulty is efficiently updating 
> hover state on the set of ancestors of all the nodes involved, some of which 
> might still be in hover state when the control ceases to be.

Indeed.  It appears to me that this use case can be solved by the proposed 
:has() relational pseudo class as long as the author has structured so that the 
label is an ancestor of the input control it’s associated with: 
http://dev.w3.org/csswg/selectors4/#relational

Given that, I don’t find it compelling to natively support this behavior in the 
browser.

- R. Niwa

Reply via email to