commit | 4f2dd5e4ebc124d19a7ef9a3482a7f679909a185 | [log] [tgz] |
---|---|---|
author | Kent Tamura <tkent@chromium.org> | Thu Nov 22 10:19:31 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Nov 22 10:19:31 2018 |
tree | 4c60f2d2151732826e3064ef0b806211af6a9c68 | |
parent | 2b885226cf8d11442f30c82ed5c5764713bf8eeb [diff] |
Form-associated custom elements: customElements.define() retrieves information for form-associated custom elements. customElements.define() retrieves 'formAssociated', 'formAssociatedCallback', and 'disabledStateChangedCallback' from the specified constructor and its prototype. ScriptCustomElementDefinitionBuilder is responsible for the retrieval, and ScriptCustomElementDefinition and CustomElementDefinition store the information. Introduce a new runtime flag 'FormAssociatedCustomElements', and 'ElementInternals' flag is enabled by it. The new behavior is behind the runtime flag. Bug: 905922 Bug: https://github.com/w3c/webcomponents/issues/187 Change-Id: Ibb4fef33a278a24a58af658983eb2387fb8efcdd Reviewed-on: https://chromium-review.googlesource.com/c/1343468 Commit-Queue: Kent Tamura <tkent@chromium.org> Reviewed-by: Hayato Ito <hayato@chromium.org> Cr-Commit-Position: refs/heads/master@{#610361}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .