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

[selectors] incorrect reference to html

From: Florian Rivoal <florian@rivoal.net>
Date: Wed, 5 Nov 2014 22:42:24 +0100
Message-Id: <FD5224A3-309C-4B65-BD71-D50D4F0314BC@rivoal.net>
To: www-style@w3.org
Selectors 4, about the :hover pseudo, say this:

 Host languages may define additional ways in which an element can match :hover.
 For example, [HTML5] defines a label element as matching :hover
 when its labelled control is hovered.


However, html says the opposite:

 For the purposes of defining the :hover pseudo-class only,
 an HTML user agent must consider an element as being one that the user designates if it is […]
 an element that is the labeled control of a label element
 that is currently matching :hover.


Implementations match what html say.

We should change the text in selectors for to be:

 [HTML5] defines a labelled control as matching :hover
 when its label element is hovered.

 - Florian
Received on Wednesday, 5 November 2014 21:42:49 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:48 UTC