Changeset 171253 in webkit
- Timestamp:
- Jul 18, 2014 5:21:56 PM (10 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r171252 r171253 1 2014-07-18 Yongjun Zhang <yongjun_zhang@apple.com> 2 3 _WKActivatedElementInfo.title should fallback to innerText if the link doesn't have title attribute. 4 https://bugs.webkit.org/show_bug.cgi?id=135077 5 6 When populate InteractionInformationAtPosition's title value, use a link element's innerText if it 7 doesn't have title attribute. 8 9 Reviewed by Dan Bernstein. 10 11 * WebProcess/WebPage/ios/WebPageIOS.mm: 12 (WebKit::WebPage::getPositionInformation): 13 1 14 2014-07-18 Andy Estes <aestes@apple.com> 2 15 -
trunk/Source/WebKit2/WebProcess/WebPage/ios/WebPageIOS.mm
r171225 r171253 1865 1865 info.url = [(NSURL *)linkElement->document().completeURL(stripLeadingAndTrailingHTMLSpaces(linkElement->getAttribute(HTMLNames::hrefAttr))) absoluteString]; 1866 1866 info.title = element->fastGetAttribute(HTMLNames::titleAttr).string(); 1867 if (linkElement && info.title.isEmpty()) 1868 info.title = element->innerText(); 1867 1869 if (element->renderer()) 1868 1870 info.bounds = element->renderer()->absoluteBoundingBoxRect(true);
Note: See TracChangeset
for help on using the changeset viewer.