Changeset 286776 in webkit
- Timestamp:
- Dec 9, 2021, 6:03:45 AM (3 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r286763 r286776 1 2021-12-09 Manuel Rego Casasnovas <[email protected]> 2 3 [selectors] Match :focus-visible on <select> elements 4 https://bugs.webkit.org/show_bug.cgi?id=233924 5 6 Reviewed by Antti Koivisto. 7 8 * fast/forms/select-listbox-focusring-expected.html: Added. 9 * fast/forms/select-listbox-focusring.html: Added. 10 1 11 2021-12-08 Patrick Griffis <[email protected]> 2 12 -
trunk/Source/WebCore/ChangeLog
r286775 r286776 1 2021-12-09 Manuel Rego Casasnovas <[email protected]> 2 3 [selectors] Match :focus-visible on <select> elements 4 https://bugs.webkit.org/show_bug.cgi?id=233924 5 6 Reviewed by Antti Koivisto. 7 8 Test: fast/forms/select-listbox-focusring.html 9 10 * dom/Element.cpp: 11 (WebCore::shouldAlwaysHaveFocusVisibleWhenFocused): 12 1 13 2021-12-09 Antti Koivisto <[email protected]> 2 14 -
trunk/Source/WebCore/dom/Element.cpp
r286542 r286776 808 808 static bool shouldAlwaysHaveFocusVisibleWhenFocused(const Element& element) 809 809 { 810 return element.isTextField() || element.isContentEditable() ;810 return element.isTextField() || element.isContentEditable() || is<HTMLSelectElement>(element); 811 811 } 812 812
Note:
See TracChangeset
for help on using the changeset viewer.