[jQuery] Metadata update / whatwg attributes conflict

[jQuery] Metadata update / whatwg attributes conflict


Hi folks,
I've recently updated the metadata plugin[1] to avoid the property
"data". That an issue I had when reading metadata from select-elements
in Opera, because Opera already implements (at least parts) the whatwg
spec. If you have similar problems or are just curious about the topic,
this article is a good read:
http://dev.opera.com/articles/view/making-legacy-pages-work-with-web-forms/
The metadata by default now searches for metadata in the class attribute
(eg. class="{required:true}") and stores the found data in an attribute
(or expando) called "metadata" (wohoo). That avoids the conflict with
the whatwg attributes.
[1]
http://dev.jquery.com/browser/trunk/plugins/metadata/lib/jQuery/metadata.js
--
Jörn Zaefferer
http://bassistance.de