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

Re: [csswg-drafts] [selectors] Match local links

From: Patrick Dark via GitHub <sysbot+gh@w3.org>
Date: Tue, 05 Dec 2017 16:51:32 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-349366586-1512492691-sysbot+gh@w3.org>
I believe it's considered bad practice to link a page to itself, so `a:not([href])` should suffice in that case.

Intra-page links can be addressed with `a[href^="#"]` or `a[href*="#"]`.

-- 
GitHub Notification of comment by patrickdark
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2010#issuecomment-349366586 using your GitHub account
Received on Tuesday, 5 December 2017 16:51:36 UTC

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