nth-child bug in validator
Russ Puskarcik <[email protected]> Tue, 5 Jul 2016 13:53:01 -0700
| Newsgroups | gmane.org.w3c.validator.css |
|---|---|
| Message-ID | <CACXRBk6OpwRWiFZg=rW+ge5tbnxEpjZC=iObHFe7nTzx7HW3MQ@mail.gmail.com> |
--001a11352e4aa39d660536e9a4d9
Content-Type: text/plain; charset=UTF-8
Hi,
I'm pretty sure this is a bug... I'm getting the following error in the
validator (http://jigsaw.w3.org/css-validator/validator):
Unknown pseudo-element or pseudo-class :nth-child
pointing to the following:
..codetable td:nth-child(2){
width: 50px;
color: blue;
}
Which, as far as I know, is correct.
Russ
--001a11352e4aa39d660536e9a4d9
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><div><div><div>Hi,<br><br></div>I'm pretty sure this i=
s a bug... I'm getting the following error in the validator (<a href=3D=
"http://jigsaw.w3.org/css-validator/validator">http://jigsaw.w3.org/css-val=
idator/validator</a>):<br><br>Unknown pseudo-element or pseudo-class :nth-c=
hild<br><br></div>pointing to the following:<br><br>.codetable td:nth-child=
(2){
<p style=3D"margin:0px;text-indent:0px">=C2=A0=C2=A0=C2=A0 width: 50px;</p>
<p style=3D"margin:0px;text-indent:0px">=C2=A0=C2=A0=C2=A0 color: blue;</p>
<p style=3D"margin:0px;text-indent:0px">=C2=A0=C2=A0=C2=A0 }</p>
<p style=3D"margin:0px;text-indent:0px"><br></p>Which, as far as I know, is=
correct.<br><br></div>Russ<br><br></div>
--001a11352e4aa39d660536e9a4d9--