Changeset 128230 in webkit
- Timestamp:
- Sep 11, 2012 3:25:29 PM (12 years ago)
- Location:
- trunk/Source/WebKit/blackberry
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/blackberry/Api/InRegionScroller.cpp
r128142 r128230 368 368 // We use this to make non-overflown contents layers to actually 369 369 // be overscrollable. 370 if (box->layer() && box->layer()->usesCompositedScrolling() 371 && box->layer()->enclosingElement() && box->layer()->enclosingElement()->isElementNode()) { 372 DEFINE_STATIC_LOCAL(QualifiedName, forceOverscrollAttr, (nullAtom, "data-blackberry-force-overscroll", nullAtom)); 373 374 Element* element = static_cast<Element*>(box->layer()->enclosingElement()); 375 if (element->fastHasAttribute(forceOverscrollAttr)) 370 if (box->layer() && box->layer()->usesCompositedScrolling()) { 371 if (box->style()->overflowScrolling() == OSBlackberryTouch) 376 372 return true; 377 373 } -
trunk/Source/WebKit/blackberry/ChangeLog
r128226 r128230 1 2012-09-11 Antonio Gomes <agomes@rim.com> 2 3 [BlackBerry] add a way to overscroll non-overflown content 4 https://bugs.webkit.org/show_bug.cgi?id=96331 5 PR #195305 6 7 Reviewed by Yong Li. 8 9 Check -webkit-overflow-scrolling value for '-blackberry-touch' instead 10 of checking a custom HTML5 attribute. 11 12 No behavioural change. Mostly a rework of r128142. 13 14 * Api/InRegionScroller.cpp: 15 (BlackBerry::WebKit::canScrollRenderBox): 16 1 17 2012-09-11 Rob Buis <rbuis@rim.com> 2 18
Note: See TracChangeset
for help on using the changeset viewer.