W3C home > Mailing lists > Public > public-rdfa-wg@w3.org > July 2010

Re: ISSUE-24 discussion

From: Toby Inkster <tai@g5n.co.uk>
Date: Thu, 8 Jul 2010 19:39:19 +0100
To: Manu Sporny <msporny@digitalbazaar.com>
Cc: RDFa WG <public-rdfa-wg@w3.org>
Message-ID: <20100708193919.782c2945@miranda.g5n.co.uk>
On Thu, 08 Jul 2010 12:29:46 -0400
Manu Sporny <msporny@digitalbazaar.com> wrote:

> <markbirbeck> The tricky bit now though is that we have to decide
> whether to continue with case-sensitive values in @rel...
> <markbirbeck> ...with the risk that some browsers might pull the rug
> from under us.

I really can't see that happening. DOM Level 2 says that enumerated
attributes (of which @rel is not one) should be case-normalised by
browsers, but in practise this has never happened because it breaks too
many scripts.

<p id="foo" align="LeFT"></p>
<script type="text/javascript">
function doit()
	p = document.getElementById('foo');
	p.innerHTML = p.align;
window.onload = doit;

According to DOM Level 2, the paragraph should read "left", but I
believe all browsers show "LeFT" (if they support scripting at all!)
If, after all these years case-normalisation hasn't been implemented
for those few attributes it was specified for, then I can't imagine
anyone clamouring to add case-normalisation requirements for even more

The only way I can see the case-preservation of @rel and @rev being
changed is out of spite.

Toby A Inkster
Received on Thursday, 8 July 2010 18:40:28 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:05:20 UTC