This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 21070 - Define that :any-link matches any element that either matches :link or :visited.
Summary: Define that :any-link matches any element that either matches :link or :visited.
Status: RESOLVED WORKSFORME
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-21 14:27 UTC by contributor
Modified: 2013-04-15 20:12 UTC (History)
5 users (show)

See Also:


Attachments

Description contributor 2013-02-21 14:27:09 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/
Multipage: http://www.whatwg.org/C#pseudo-classes
Complete: http://www.whatwg.org/c#pseudo-classes

Comment:
Define that :any-link matches any element that either matches :link or
:visited.

Posted from: 207.218.72.65
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.10 Safari/537.31
Comment 1 Ian 'Hixie' Hickson 2013-04-12 19:25:28 UTC
What is :any-link? Is that specced anywhere?
Comment 3 Ian 'Hixie' Hickson 2013-04-14 07:27:48 UTC
Oh man, why did the editor's draft change URL.

Thanks.

Tab, any idea if the ":any-link" name is going to change or if we can start relying on it in implementations and specs?
Comment 4 Tab Atkins Jr. 2013-04-14 17:09:03 UTC
(In reply to comment #3)
> Oh man, why did the editor's draft change URL.
> 
> Thanks.
> 
> Tab, any idea if the ":any-link" name is going to change or if we can start
> relying on it in implementations and specs?

We have no plan to change the name.

(And the EDs all changed urls in one burst, to the new more consistent plan.  You can view any "latest" ED by leaving off the level.)
Comment 5 Simon Pieters 2013-04-15 16:02:34 UTC
Shouldn't it be Selectors that defines :any-link as matching either :link or :visited, rather than HTML?
Comment 6 Anne 2013-04-15 16:12:29 UTC
Either way works for me. I just want Gecko to unprefix this.
Comment 7 Tab Atkins Jr. 2013-04-15 17:01:37 UTC
(In reply to comment #6)
> Either way works for me. I just want Gecko to unprefix this.

Fixed in Selectors now.
Comment 8 Ian 'Hixie' Hickson 2013-04-15 20:12:42 UTC
Score!