[whatwg] hrefclass attribute ? -- semantics token reuse

Hello,

On 11/27/05, ROBO Design <robodesign at gmail.com> wrote:
> On Sun, 27 Nov 2005 00:28:49 +0200, Charles Iliya Krempeaux
> <supercanadian at gmail.com> wrote:
>
> > Hello,
> >
> > This is kind of a follow up to a previous post of mine:
> >
> > rel/rev for <form> ?
> > http://listserver.dreamhost.com/pipermail/whatwg-whatwg.org/2005-November/005039.html
> > http://listserver.dreamhost.com/pipermail/whatwg-whatwg.org/2005-November/thread.html#5039
> >
> > Now, although I still think "rel" and "rev" attributes on the <form>
> > element would be useful, I did note (to myself) that in some cases
> > "rel" and "rev" were not what I really wanted.  "rel" and "rev"
> > specify semantics between (all or part of) the document they are in
> > and the resource the "href" (or "action") attribute points to.  (At
> > least that's my understanding of it.)
> <...>
>
> Hello!
> Best description of rel and rev attributes I ever read is:
> http://microformats.org/wiki/rel-faq

Thanks.  (I've already read it though.)

> <...>
> > For purposes of (semantic) token reuse, it would be nice if there was
> > something like an "hrefclass" attribute.  For example, let's say we
> > had:
> >
> >     <ul class="shows">
> >         <li>a</li>
> >         <li>b</li>
> >         <li>c</li>
> >     </ul>
> >
> > Now, lets say that instead of including this in our document, that we
> > wanted to defer this to somewhere else.  Then having something like
> > the following would be very useful.
> >
> >     <a hrefclass="shows" href="http://example.com/shows">...</a>
> >
> > Now, it's true that with the "class" attribute by itself we could do
> > something like:
> >
> >     <a class="href-shows" href="http://example.com/contact"></a>
> >
> > or:
> >
> >     <a class="refersto-shows" href="http://example.com/contact"></a>
>
> Shouldn't these last two links have href="http://example.com/shows", like
> the first one? Is it a mistake or is it on purpose?

Sorry, that was a mistake.  They all should have been
"http://example.com/shows".



See ya

--
    Charles Iliya Krempeaux, B.Sc.

    charles @ reptile.ca
    supercanadian @ gmail.com

    developer weblog: http://ChangeLog.ca/
___________________________________________________________________________
 Never forget where you came from

Received on Monday, 28 November 2005 00:30:52 UTC