commit | f610be969095d0af8569924e7d7780b5a6a890cd | [log] [tgz] |
---|---|---|
author | Adithya Srinivasan <adithyas@chromium.org> | Thu Nov 23 16:24:51 2017 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Nov 23 16:24:51 2017 |
tree | 456a1ed07f02e74c97de4ada27c8e4d07fe61cea | |
parent | 9a2d008058dcc0d2e7e754932f662983243fc82e [diff] |
Skip shadow root creation for input types that don't need it Certain input types like checkboxes and radio buttons don't make use of the shadow root that is currently created by default. This CL adds a method to InputTypeView that indicates if an input type needs to create a shadow root, and skips shadow root creation in InitializeTypeInParsing if possible. Bug: Change-Id: Id932c06cdd924a5b6006d8770d9cc6d09cb3da82 Reviewed-on: https://chromium-review.googlesource.com/773180 Commit-Queue: Adithya Srinivasan <adithyas@chromium.org> Reviewed-by: Jeremy Roman <jbroman@chromium.org> Reviewed-by: Kentaro Hara <haraken@chromium.org> Reviewed-by: Hayato Ito <hayato@chromium.org> Reviewed-by: Keishi Hattori <keishi@chromium.org> Cr-Commit-Position: refs/heads/master@{#518955}
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 .