[whatwg] Joe Clark's Criticisms of the WHATWG and HTML 5

Hello,

On 11/14/06, Charles Iliya Krempeaux <supercanadian at gmail.com> wrote:
>
> Hello,
>
> On 11/14/06, Charles Iliya Krempeaux <supercanadian at gmail.com> wrote:
> >
> > Hello,
> >
> > On 11/1/06, Charles Iliya Krempeaux < supercanadian at gmail.com> wrote:
> > >
> > > Hello Christoph,
> > >
> > > On 11/1/06, Christoph P?per < christoph.paeper at crissov.de> wrote:
> > > >
> > > > *Henri Sivonen*, 2006-10-29:
> > > >
> > > > >> http://blog.fawny.org/2006/10/28/tbl-html/
> > > > >
> > > > >>     * HTML has samp, var, and kbd. I use all of them and I am
> > > > >> pretty much the only one who does.
> > > > >
> > > > > FWIW, I think <samp> and <kbd> don't deserve to be in HTML and I
> > > > am
> > > > > not convinced that the use cases for <var> could not be satisfied
> > > > > by <i>.
> > > >
> > > > I consider
> > > >
> > > >    <a href="foo.xga"><samp><img src="foo.qvga" alt="Foo"></ samp
> > > > ></a>
> > >
> > >
> > Thinking about it some more, something like the <q> element may be
> > useful as well for marking thumbnails.
> >
> > So, you might have something like this...
> >
> > <a type="video/mpeg" href="http://example.com/video/123">
> >   <q cite=" http://example.com/video/123 ">
> >     <img src="http://example.com/thumbnail/123" />
> >   </q>
> > </a>
> >
> > (Although you'd probably want to add a "quotes:none;" to that <q>
> > element, since some browsers wrap a <q> with quotes.)
> >
> > One would know that the <img> is from the video because the URL in
> > "cite" attribute (for the <q> element) matches the URL in the "href"
> > attribute (of the <a> element.)
> >
>
>
> Doing it this way (with the <q> element instead of the <samp> element)
> would also allow you to take the thumbnail outside of the link.  So, for
> example...
>
> <q cite=" http://example.com/video/123 ">
>     <img src="http://example.com/thumbnail/123" />
> </q>
> <a type="video/mpeg" href=" http://example.com/video/123">[download]</a>
>
> The "cite" attribute (of the <q> element) and the "href" attribute (for
> the <a> element) could still be matched up to find thumbnail, in this
> configuration too.


(Sorry for replying to my own e-mail message again....)

If we still had the "urn" attribute on the <a> element, we could use it to
specify alternatives of the same video.

So, for example...

<q cite="http://example.com/video/123/mpeg">
  <img src="http://example.com/thumbnail/123" />
</q>
<a urn="urn:uuid:0a8d2f83-d5d2-44e7-bde9-319aaadc219c" type="video/mpeg"
href="http://example.com/video/123/mpeg">[MPEG]</a>
<a urn="urn:uuid:0a8d2f83-d5d2-44e7-bde9-319aaadc219c"
type="video/quicktime" href="http://example.com/video/123/mov
">[QuickTime]</a>


Just to say it explicitly, the "cite" attribute matches only one of those
links.  (It could be any of them.  It doesn't matter.)

Alternatively, I think it would probably be semantically OK if the urn was
even put in there -- in the "cite" attribute.  As in...

<q cite="urn:uuid:0a8d2f83-d5d2-44e7-bde9-319aaadc219c">
  <img src="http://example.com/thumbnail/123" />
</q>
<a urn="urn:uuid:0a8d2f83-d5d2-44e7-bde9-319aaadc219c" type="video/mpeg"
href="http://example.com/video/123/mpeg">[MPEG]</a>
<a urn="urn:uuid:0a8d2f83-d5d2-44e7-bde9-319aaadc219c"
type="video/quicktime" href="http://example.com/video/123/mov
">[QuickTime]</a>

(That way you don't have to play favorites.)


Any chance we can get the "urn" attribute on the <a> element back?  :-)


(And note... for those that think that
"urn:uuid:0a8d2f83-d5d2-44e7-bde9-319aaadc219c" looks ugly.  You do NOT have
to use URN's that look like that.  Another example of a URN is:
"urn:ietf:rfc:3023".)

See ya

-- 
    Charles Iliya Krempeaux, B.Sc.

    charles @ reptile.ca
    supercanadian @ gmail.com

    developer weblog: http://ChangeLog.ca/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20061115/17130cb3/attachment.htm>

Received on Wednesday, 15 November 2006 00:04:20 UTC