Travis Leithead wrote:
what is wrong with treating all links as unvisited as far as
these APIs are concerned.
This is the alternate option I'd prefer, if you insist on changing
the spec in this way. However, my first choice would be to not alter
the spec :)
I only want to alter the spec to prevent loopholes that allow for major
interoperability issues.
To recap your proposal: * :link - matches all links (essentially
document.links, but without the href constraint) whether visited or
not
In (X)HTML, I believe :link should be equivalent to:
"a[href], area[href], link[href]"
* :visited - matches none.
Is that correct?
Yes. Any solution is fine with the condition that every link in the
document is matched by either one of :link or :visited.
--
Lachlan Hunt - Opera Software
http://lachy.id.au/
http://www.opera.com/