[whatwg] Function "Active Menu"

Recognizing that the href is the same as the current uri.

I agree it woud be nice, but I see this as a proposal for the css wg. This has pseudo-class written all over this.

:current or something.

Nowadays we solve this with a .current or .active class name.

Not exactly life-changing, but useful nonetheless.
--
Andr? Lu?s

On May 7, 2011, at 3:12 PM, Benjamin Hawkes-Lewis <bhawkeslewis at googlemail.com> wrote:

> 2011/5/7 Jos? Lucas Teixeira de Oliveira <jose.lucas.tdo at gmail.com>:
>> I think there should be a way to bind a link tag "<nav>" with a "<article>"
>> specific, creating a function of "active menu" automatically in HTML5. What
>> is your opinion?
> 
> I don't understand what problem you're trying to solve, or what user agent
> behavior you are proposing.
> 
> --
> Benjamin Hawkes-Lewis

Received on Saturday, 7 May 2011 07:26:30 UTC