Polymer/polymer-dev — pull request #5 by liudongmiao (2014-02-12 08:51:52+00:00)
Title: fix special attribute name on IE.

This patch should fix https://github.com/Polymer/polymer/issues/332
and https://github.com/Polymer/polymer/issues/372

The list of pissible wrong attributes can be retrieved by following codes:

var blacklist = [];
Object.keys(HTMLElement.prototype).forEach(function (item) {
try {
HTMLElement.prototype[item];
} catch (e) {
console.log(item + ": " + e.name + ", " + e.message);
blacklist.push(item);
}
});
blacklist.sort();
document.write("

blacklist

" + blacklist.join("
"));

Here is a single web page http://jsbin.com/gofay/1