commit | 7b0c4a78866841553fe991142d3a516c89f5f851 | [log] [tgz] |
---|---|---|
author | kojii <kojii@chromium.org> | Thu May 26 05:18:01 2016 |
committer | Commit bot <commit-bot@chromium.org> | Thu May 26 05:20:16 2016 |
tree | 1c80641352f3ccf46a4ea711f52c104e9a18d071 | |
parent | 11201b35f0baecde20cd2fa337e4239ee2e99db8 [diff] |
Change "bool createdByParser" of createElement() to enum The "create an element"[1] defines "synchronous custom elements flag" that is set to false if: 1. To clone a node[2]. 2. The parser was originally created for the HTML fragment parsing algorithm[3]. This patch changes "bool createdByParser" of createElement() to an enum so that callers can pass this flag to "create an element"[1]. Using the "synchronous custom elements flag" is not implemented yet, and thus no behavior changes. [1] https://dom.spec.whatwg.org/#concept-create-element [2] https://dom.spec.whatwg.org/#concept-node-clone [3] https://html.spec.whatwg.org/#create-an-element-for-the-token BUG=594918 Review-Url: https://codereview.chromium.org/2002063003 Cr-Commit-Position: refs/heads/master@{#396125}