Created attachment 464530 [details] the focus event log Here is a demo: https://codesandbox.io/s/date-input-rd1p57 Observe the console log. Clicking the date/month/year fields can trigger focus/focusin events. But Clicking the blank area only triggers focus event, can't trigger focusin event.
Created attachment 464572 [details] debug trace After this line: m_focusedElement->dispatchFocusEvent(oldFocusedElement.copyRef(), options); m_focusedElement is changed to DateTimeMonthFieldElement
<rdar://problem/104626389>