chromium/third_party/blink/web_tests/fast/forms/color/color-picker-appearance-color-well-keyboard-navigation.html

<!DOCTYPE html>
<meta name=fuzzy content="maxDifference=0-3; totalPixels=0-1000">
<script src="../../../resources/testdriver.js"></script>
<script src="../../../resources/testdriver-vendor.js"></script>
<script src="../resources/picker-common.js"></script>

<input type='color' value='#80D9FF'>

<script>
  window.onload = openPickerAppearanceOnly(document.querySelector('input'),() => {
    internals.pagePopupWindow.focus();
    const popupDocument = internals.pagePopupWindow.document;
    const colorWellSelectionRing = popupDocument.querySelector('color-well > color-selection-ring');
    const colorWellSelectionRingRect = colorWellSelectionRing.getBoundingClientRect();
    eventSender.mouseMoveTo(colorWellSelectionRingRect.left + (colorWellSelectionRingRect.width / 2),
        colorWellSelectionRingRect.top + (colorWellSelectionRingRect.height / 2));
    eventSender.mouseDown();
    eventSender.mouseUp();
    for (let i = 0; i < 12; i++) {
      eventSender.keyDown('ArrowDown');
    }
    for (let i = 0; i < 25; i++) {
      eventSender.keyDown('ArrowLeft');
    }
    for (let i = 0; i < 2; i++) {
      eventSender.keyDown('ArrowUp');
    }
    for (let i = 0; i < 5; i++) {
      eventSender.keyDown('ArrowRight');
    }
  });
</script>