Changeset 149811 in webkit
- Timestamp:
- May 9, 2013 8:43:21 AM (11 years ago)
- Location:
- trunk/Source/WebKit/blackberry
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/blackberry/ChangeLog
r149810 r149811 1 2013-05-09 Mike Fenton <mifenton@rim.com> 2 3 [BlackBerry] Style updates required based on new check-webkit-style 4 https://bugs.webkit.org/show_bug.cgi?id=115857 5 6 Reviewed by Rob Buis. 7 8 Update DOMSupport to match check-webkit-style updates. 9 10 * WebKitSupport/DOMSupport.cpp: 11 (BlackBerry::WebKit::DOMSupport::isTextInputElement): 12 (BlackBerry::WebKit::DOMSupport::isPasswordElement): 13 (BlackBerry::WebKit::DOMSupport::convertPointToFrame): 14 1 15 2013-05-09 Xuefei Ren <xren@blackberry.com> 2 16 -
trunk/Source/WebKit/blackberry/WebKitSupport/DOMSupport.cpp
r149675 r149811 104 104 { 105 105 return element->isTextFormControl() 106 107 106 || element->hasTagName(HTMLNames::textareaTag) 107 || element->isContentEditable(); 108 108 } 109 109 … … 111 111 { 112 112 return element && element->hasTagName(HTMLNames::inputTag) 113 113 && static_cast<const HTMLInputElement*>(element)->isPasswordField(); 114 114 } 115 115 … … 474 474 // Requested point is outside of target frame, return InvalidPoint. 475 475 if (clampToTargetFrame && !targetFrameRect.contains(targetPoint)) 476 targetPoint = IntPoint(targetPoint.x() < targetFrameRect.x() ? targetFrameRect.x() : std::min(targetPoint.x(), targetFrameRect.maxX()), 477 targetPoint.y() < targetFrameRect.y() ? targetFrameRect.y() : std::min(targetPoint.y(), targetFrameRect.maxY())); 476 targetPoint = IntPoint( 477 targetPoint.x() < targetFrameRect.x() ? targetFrameRect.x() : std::min(targetPoint.x(), targetFrameRect.maxX()), 478 targetPoint.y() < targetFrameRect.y() ? targetFrameRect.y() : std::min(targetPoint.y(), targetFrameRect.maxY())); 478 479 else if (!targetFrameRect.contains(targetPoint)) 479 480 return InvalidPoint;
Note: See TracChangeset
for help on using the changeset viewer.