[whatwg] Function "Active Menu"

André Luís andreluis.pt at gmail.com
Sat May 7 07:26:30 PDT 2011

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

More information about the whatwg mailing list