-
Ryan Landay authored
This CL makes two changes to the autocapitalize IDL behavior to match the new spec: https://html.spec.whatwg.org/multipage/interaction.html#autocapitalization - For elements with no autocapitalize attribute set, or which have the attribute set with an empty value (e.g. <input autocapitalize> or <input autocapitalize="">), return an empty string instead of "sentences". - All <input> elements will now have the same behavior. Email, URL, and password inputs will no longer be special-cased to always return "none". This CL also adds some test cases for this new behavior. Bug: 776618 Change-Id: I4027e81380d5ff7ea7da254b98cfa67b1d202b58 Reviewed-on: https://chromium-review.googlesource.com/872012 Commit-Queue: Ryan Landay <rlanday@chromium.org> Reviewed-by:
Kent Tamura <tkent@chromium.org> Cr-Commit-Position: refs/heads/master@{#531323}
d972d202