Changeset 81880 in webkit
- Timestamp:
- Mar 24, 2011 11:57:33 AM (13 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r81879 r81880 1 2011-03-24 Jon Lee <jonlee@apple.com> 2 3 Reviewed by Darin Adler. 4 5 WebKit2: Tabbing from the last focused field to a non-webpage element leaves the selection in a weird state 6 <rdar://problem/8553962> 7 8 * WebProcess/WebPage/WebPage.cpp: 9 (WebKit::WebPage::setFocused): When the page loses focus, clear out any selection in the frame 10 1 11 2011-03-24 Brian Weinstein <bweinstein@apple.com> 2 12 -
trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp
r81847 r81880 1127 1127 void WebPage::setFocused(bool isFocused) 1128 1128 { 1129 if (!isFocused) 1130 m_page->focusController()->focusedOrMainFrame()->selection()->clear(); 1129 1131 m_page->focusController()->setFocused(isFocused); 1130 1132 }
Note: See TracChangeset
for help on using the changeset viewer.