Changeset 57663 in webkit
- Timestamp:
- Apr 15, 2010 12:33:59 PM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r57662 r57663 1 2010-04-14 Antonio Gomes <tonikitoo@webkit.org> 2 3 Reviewed by Simon Fraser. 4 5 Spatial Navigation: make hasOffscreenRect() to earlier return 'true' if absoluteClippedOverflowRect() gives an empty rect 6 https://bugs.webkit.org/show_bug.cgi?id=37635 7 8 absoluteClippedOverflowRect method of RenderObject does return an empty IntRect for offscreen nodes. 9 So hasOffscreenRect method (SpatialNavigation.cpp) can safily bail out earlier in such cases. 10 11 * page/SpatialNavigation.cpp: 12 (WebCore::hasOffscreenRect): 13 1 14 2010-04-14 Antonio Gomes <tonikitoo@webkit.org> 2 15 -
trunk/WebCore/page/SpatialNavigation.cpp
r57496 r57663 437 437 438 438 IntRect rect(render->absoluteClippedOverflowRect()); 439 if (rect.isEmpty()) 440 return true; 441 439 442 return !containerViewportRect.intersects(rect); 440 443 }
Note: See TracChangeset
for help on using the changeset viewer.