Reland "Color control popup UI improvements"
Fixed the following issues that led to the revert: - Added missing mac image baseline updates - Some tests I added/extended were timing out in a linux MSAN run. I noticed that the color picker is slow to open in even a normal debug build, so I suspect that these are legit timeouts where the tests are just taking too long on the MSAN build. I've split the tests up to avoid this (color-picker-events-*, color-picker-escape-cancellation-*). Original change description follows: This CL updates the <input type="color"> popup UI in three related aspects per design feedback: 1) The in-page control now updates immediately as the selected color is changed in the popup, instead of waiting for the popup to be dismissed. The page can watch for these 'live' changes via the input event. 2) The UI is simplified by removal of the submit and cancel buttons. The popup is now dismissed only by clicking outside of it or with the Enter or Escape keys. 3) A 'double-escape' model is introduced in which if a user has opened the popup and changed the value, hitting Escape once will reset the value back to what it was when the popup was opened. Hitting Escape once more, when the popup value matches the value when opened, will dismiss the popup. Bug: 1001571 Change-Id: I1369851208c3da0231b6c1d6fb218b9c13e00ca5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1992598 Commit-Queue: Dan Clark <daniec@microsoft.com> Reviewed-by:Mason Freed <masonfreed@chromium.org> Cr-Commit-Position: refs/heads/master@{#729968}
Showing



























11.7 KB
11.7 KB




































































This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.