W3C home > Mailing lists > Public > public-css-archive@w3.org > June 2016

[csswg-drafts] [selectors-4] Target elements or target elements?

From: Domenic Denicola via GitHub <sysbot+gh@w3.org>
Date: Thu, 02 Jun 2016 18:26:58 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-158208014-1464892018-sysbot+gh@w3.org>
domenic has just created a new issue for 
https://github.com/w3c/csswg-drafts:

== [selectors-4] Target elements or target elements? ==
https://drafts.csswg.org/selectors-4/#the-target-pseudo

> The :target pseudo-class matches the document’s target elements. If 
the document’s URL has no fragment identifier, then the document has 
no target element.

The intention seems to be that a document can have multiple target 
elements. (HTML can only have one, but I can see CSS wanting to stay 
general, for whatever reason.)

If so, the last sentence should probably be "the document has no 
target element**s**".

This is causing minor confusion in 
https://github.com/whatwg/html/pull/1370/files/6048d915035fefd69e31f903beac6f53356e4462#r65485805

Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/162 using your GitHub 
account
Received on Thursday, 2 June 2016 18:27:02 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:30:20 UTC