W3C home > Mailing lists > Public > www-style@w3.org > May 2014

Re: [selectors] Self-referential link pseudo-class

From: Antony Kennedy <antony@silversquid.com>
Date: Thu, 08 May 2014 12:07:38 +0100
Cc: Simon Sapin <simon.sapin@exyr.org>, www-style list <www-style@w3.org>
Message-id: <10C1AA45-3D92-4863-B550-68D78990E5D3@silversquid.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Thanks Tab/Simon.

That URL is pretty broken, btw.

I’d be interested to know why this was deferred - were there some complications?

A

On 7 May 2014, at 17:56, Tab Atkins Jr. <jackalmage@gmail.com> wrote:

> On Wed, May 7, 2014 at 4:52 AM, Simon Sapin <simon.sapin@exyr.org> wrote:
>> On 07/05/2014 12:46, Antony Kennedy wrote:
>>> 
>>> Also, I’m not sure how one would target only the exact URL that you are
>>> currently on (excluding hash, etc)?
>>> 
>>> In my previous example:
>>> 
>>>>>> <ul>
>>>>>> <li><a href=“home.html“>Home</a></li>
>>>>>> <li><a href=“about.html“>About us</a></li>
>>>>>> </ul>
>>> 
>>> 
>>> …when on home.html, how would style just that link?
>> 
>> 
>> I believe that’s :local-link without parentheses.
> 
> Yup.
> 
> (And here's the set of things we've deferred:
> http://dev.w3.org/csswg/selectors/deferred-for-level-5 )
> 
> ~TJ


Received on Thursday, 8 May 2014 11:08:13 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:51:26 UTC