commit | 5ac03d7943472ea900610fdb5cb27263fe8605c4 | [log] [tgz] |
---|---|---|
author | kojii <kojii@chromium.org> | Tue Jul 26 09:53:42 2016 |
committer | Commit bot <commit-bot@chromium.org> | Tue Jul 26 09:55:40 2016 |
tree | 76c72c9e859cd8e35177994011bb2f063641b7cb | |
parent | 4d7298c5fa3a242d6594c33759bbb33c0aace837 [diff] |
Add "Failed" custom element state To avoid constructor running multiple times on the same element[1], a new "failed" custom element state[2] was added to the spec. This patch: 1. Adds the CustomElementState::Failed. 2. Simplifies getCustomElementState(). 3. Removes Element::isCustomElement() to match code conventions to the spec terminologies. [1] https://github.com/w3c/webcomponents/issues/533 [2] https://dom.spec.whatwg.org/#concept-element-custom-element-state BUG=594918 Review-Url: https://codereview.chromium.org/2173623003 Cr-Commit-Position: refs/heads/master@{#407754}