Changeset 95640 in webkit
- Timestamp:
- Sep 21, 2011 9:39:50 AM (13 years ago)
- Location:
- trunk/Source/WebKit/chromium
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/chromium/ChangeLog
r95590 r95640 1 2011-09-21 chandra shekar vallala <chandra.vallala@gmail.com> 2 3 [chromium]ClearFocusedNode doesn't clear the cursor or selection in editable div element. 4 https://bugs.webkit.org/show_bug.cgi?id=68351 5 6 Reviewed by Darin Fisher. 7 8 * src/WebViewImpl.cpp: 9 (WebKit::WebViewImpl::clearFocusedNode): 10 1 11 2011-09-20 Jay Civelli <jcivelli@chromium.org> 2 12 -
trunk/Source/WebKit/chromium/src/WebViewImpl.cpp
r95380 r95640 1803 1803 // processing keyboard events even though focus has been moved to the page and 1804 1804 // keystrokes get eaten as a result. 1805 if (oldFocusedNode-> hasTagName(HTMLNames::textareaTag)1806 || (oldFocusedNode-> hasTagName(HTMLNames::inputTag)1807 && static_cast< HTMLInputElement*>(oldFocusedNode.get())->isTextField())) {1805 if (oldFocusedNode->isContentEditable() 1806 || (oldFocusedNode->isElementNode() 1807 && static_cast<Element*>(oldFocusedNode.get())->isTextFormControl())) { 1808 1808 frame->selection()->clear(); 1809 1809 }
Note: See TracChangeset
for help on using the changeset viewer.