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

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