<!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='#7EFFC9'>
<script>
window.onload = openPickerAppearanceOnly(document.querySelector('input'),() => {
internals.pagePopupWindow.focus();
const popupDocument = internals.pagePopupWindow.document;
const formatToggler = popupDocument.querySelector('format-toggler');
const formatTogglerRect = formatToggler.getBoundingClientRect();
// // first tap changes format to HSL
eventSender.gestureTap(formatTogglerRect.left + formatTogglerRect.width / 3, formatTogglerRect.top + formatTogglerRect.height / 3);
// second tap changes format to Hex
eventSender.gestureTap(formatTogglerRect.left + formatTogglerRect.width / 2, formatTogglerRect.top + formatTogglerRect.height / 2);
});
</script>