W3C home > Mailing lists > Public > www-validator-css@w3.org > June 2016

:required validation in CSS3

From: Benedicte Roussel <benedicte55555@yahoo.fr>
Date: Tue, 14 Jun 2016 22:38:58 +0000 (UTC)
To: "www-validator-css@w3.org" <www-validator-css@w3.org>
Message-ID: <166962832.5619613.1465943938198.JavaMail.yahoo@mail.yahoo.com>
Good day,
I have used :required in a HTLM5 form<label for="mail">Votre mail : </label><input type="email" name="mail" id="mail" required/>. It was understood by the navigators but in the validator instead of writing the following in my CSS3:  
:required{ background-color:pink;}:focus{ background-color:whitesmoke;}fieldset{ margin:20px; background-color:#FFEFD5;
}
I had to write the following in order that my CSS (level3) be validated.

[required]{ background-color:pink;}:focus{ background-color:whitesmoke;}fieldset{ margin:20px; background-color:#FFEFD5;
}
Could we expect that :required be validated by CSS3 validator in a very near future ? Or am I dreaming about it ?
I thank you for the attention drawn to this mail.
I look forwards to receiving you answer.
Yours sincerely
Benedicte
Received on Wednesday, 15 June 2016 00:53:56 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:01:19 UTC