W3C home > Mailing lists > Public > public-css-archive@w3.org > April 2017

[csswg-drafts] [selectors] Repeated "same as :first-child:last-child"

From: Loirooriol via GitHub <sysbot+gh@w3.org>
Date: Sat, 29 Apr 2017 15:38:15 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-225264847-1493480293-sysbot+gh@w3.org>
Loirooriol has just created a new issue for https://github.com/w3c/csswg-drafts:

== [selectors] Repeated "same as :first-child:last-child" ==
Commit be7492c added a sentence to [`:only-child`](https://drafts.csswg.org/selectors-4/#the-only-child-pseudo), but I think this was an unintended mistake, because the same sentence was already just below there.

> The :only-child pseudo-class represents an element that has no siblings, **same as :first-child:last-child. Same as :first-child:last-child** or :nth-child(1):nth-last-child(1), but with a lower specificity.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1308 using your GitHub account
Received on Saturday, 29 April 2017 15:38:21 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:11 UTC