<input type=color> accept values without '%' or '#'
This patch makes the color picker popup for <input type=color> accept saturation and luminance values without the trailing % as well as hex values without the leading # when they are typed in by the user. The % and # characters will be automatically added by the popup. Bug: 1147506 Change-Id: Icf406a6c9439433910e90a7be82309e72e4b4d86 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2560659Reviewed-by:Sanket Joshi <sajos@microsoft.com> Reviewed-by:
Mason Freed <masonfreed@chromium.org> Commit-Queue: Joey Arhar <jarhar@chromium.org> Cr-Commit-Position: refs/heads/master@{#831212}
Showing
Please register or sign in to comment