Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

fix special attribute name on IE. #5

Closed
wants to merge 1 commit into from
Closed

fix special attribute name on IE. #5

wants to merge 1 commit into from

Conversation

liudongmiao
Copy link

This patch should fix Polymer/polymer#332
and Polymer/polymer#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("<h3>blacklist</h3>" + blacklist.join("<br/>"));

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

@ebidel
Copy link
Contributor

ebidel commented Jun 30, 2014

Thanks for signing the CLA!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

in polymer 0.0.20131025 element id attribute not allowed
3 participants