live :hover state

select:hover = ?
date:hover = ?
time:hover = ?
datetime-local:hover = ?
month:hover = ?
week:hover = ?
color:hover = ?

crbug.com/40774159 -- keep :hover on form-control pickers while the popup is open

Each control below opens an out-of-page popup window (native select menu, the date/time choosers, the color chooser). Mouse moves over the popup window may not reach the owner document while moves next to it do, so the owner's :hover style used to flicker depending on where the cursor re-entered.

  1. Hover a control: it turns blue and its readout shows :hover = true.
  2. Open its popup and hover inside the popup: the control should stay blue.
  3. Move the mouse next to the open popup (over the page, not the control): the control should stay blue.
  4. Expected (fixed): :hover = true the whole time the popup is open. Actual (unpatched): it flips to false and the control turns white.

<select> (fixed in CL 8461231)

<input type=date>

<input type=time>

<input type=datetime-local>

<input type=month>

<input type=week>

<input type=color>