Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upFocus parent elements in the current page #7848
Open
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Document::commit_focus_transactionmentions// Update the focus state for all elements in the focus chain.but only attempts to focus an enclosing iframe element; all other elements in the chain are ignored. This is visible tests/html/select.html from #7847 if the JS is changed to focus an<option>instead of a<select>; the CSS selector for focused<select>doesn't get applied, because the focus state is never set on the parent<select>.