They have only `GetExplicitEventTargetContent` and some callers may want to get proper target `Element`. Therefore, we should add them and the common logic should be shared. `nsListControlFrame::GetIndexFromEvent` looks for an inclusive ancestor `<option>`. So, it can start the loop from its inclusive ancestor element of the explicit event target so that it can use the new API. Differential Revision: https://phabricator.services.mozilla.com/D300217