Changeset 152907 in webkit
- Timestamp:
- Jul 19, 2013 10:47:36 AM (11 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r152906 r152907 1 2013-07-19 Radu Stavila <stavila@adobe.com> 2 3 Hover doesn't work for block elements inside a href element 4 https://bugs.webkit.org/show_bug.cgi?id=118907 5 6 Reviewed by David Hyatt. 7 8 Don't skip all anonymous objects when searching for the hover ancestor, only the ones 9 directly flowed into a region. 10 11 * fast/css/hover-display-block-expected.txt: Added. 12 * fast/css/hover-display-block.html: Added. 13 1 14 2013-07-19 Zoltan Horvath <zoltan@webkit.org> 2 15 -
trunk/Source/WebCore/ChangeLog
r152906 r152907 1 2013-07-19 Radu Stavila <stavila@adobe.com> 2 3 Hover doesn't work for block elements inside a href element 4 https://bugs.webkit.org/show_bug.cgi?id=118907 5 6 Reviewed by David Hyatt. 7 8 Added test for hovering block elements inside a href element. 9 10 Test: fast/css/hover-display-block.html 11 12 * rendering/RenderObject.cpp: 13 (WebCore::RenderObject::hoverAncestor): 14 1 15 2013-07-19 Zoltan Horvath <zoltan@webkit.org> 2 16 -
trunk/Source/WebCore/rendering/RenderObject.cpp
r152440 r152907 3051 3051 RenderObject* hoverAncestor = parent(); 3052 3052 3053 // Skip anonymous blocks. There's no point in treating them as hover ancestors 3054 // and it would also prevent us from continuing the search on the DOM tree 3055 // when reaching the named flow thread. 3056 if (hoverAncestor && hoverAncestor->isAnonymousBlock()) 3053 // Skip anonymous blocks directly flowed into flow threads as it would 3054 // prevent us from continuing the search on the DOM tree when reaching the named flow thread. 3055 if (hoverAncestor && hoverAncestor->isAnonymousBlock() && hoverAncestor->parent() && hoverAncestor->parent()->isRenderNamedFlowThread()) 3057 3056 hoverAncestor = hoverAncestor->parent(); 3058 3057
Note: See TracChangeset
for help on using the changeset viewer.