W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > November 2011

[Bug 14637] Is itemtype="" valid?

From: <bugzilla@jessica.w3.org>
Date: Tue, 01 Nov 2011 13:47:27 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1RLEgZ-0006tI-Au@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=14637

--- Comment #5 from Philip Jägenstedt <philipj@opera.com> 2011-11-01 13:47:26 UTC ---
(In reply to comment #4)
> Just to get it correctly, If itemtype defied but doesn't have any token,
> should it throw any error/exception?
> 
> I mean what would be behavior if
> 
> var element = document.createElement(type);
> element.setAttribute('itemtype', '');

That does not throw an exception, the validity is really only for validators,
see http://bugzilla.validator.nu/show_bug.cgi?id=872

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Tuesday, 1 November 2011 13:47:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 1 November 2011 13:47:36 GMT