Changeset 163369 in webkit
- Timestamp:
- Feb 4, 2014 2:10:42 AM (10 years ago)
- Location:
- trunk
- Files:
-
- 4 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r163368 r163369 1 2014-02-04 Mihai Maerean <mmaerean@adobe.com> 2 3 [CSS Regions] Fix Assert SHOULD NEVER BE REACHED in RenderLayer::enclosingElement() 4 https://bugs.webkit.org/show_bug.cgi?id=123329 5 6 Reviewed by Mihnea Ovidenie. 7 8 * fast/regions/assert-hit-test-image.html: Added. 9 * fast/regions/assert-hit-test-image-expected.txt: Added. 10 * fast/regions/auto-size/region-same-height-as-div-with-inline-child.html: Added. 11 * fast/regions/auto-size/region-same-height-as-div-with-inline-child-expected.txt: Added. 12 1 13 2014-02-04 Mihnea Ovidenie <mihnea@adobe.com> 2 14 -
trunk/Source/WebCore/ChangeLog
r163368 r163369 1 2014-02-04 Mihai Maerean <mmaerean@adobe.com> 2 3 [CSS Regions] Fix Assert SHOULD NEVER BE REACHED in RenderLayer::enclosingElement() 4 https://bugs.webkit.org/show_bug.cgi?id=123329 5 6 Reviewed by Mihnea Ovidenie. 7 8 The flowthread doesn't have an enclosing element, so when hitting the layer of the 9 flowthread (e.g. the descent area of the RootInlineBox for the image flowed alone 10 inside the flow thread) we're letting the hit testing continue so it will hit the region. 11 12 Tests: fast/regions/assert-hit-test-image.html 13 fast/regions/auto-size/region-same-height-as-div-with-inline-child.html 14 15 * rendering/RenderLayer.cpp: 16 (WebCore::RenderLayer::hitTestContents): 17 1 18 2014-02-04 Mihnea Ovidenie <mihnea@adobe.com> 2 19 -
trunk/Source/WebCore/rendering/RenderLayer.cpp
r163302 r163369 5042 5042 // the tree. 5043 5043 if (!result.innerNode() || !result.innerNonSharedNode()) { 5044 if (isOutOfFlowRenderFlowThread()) { 5045 // The flowthread doesn't have an enclosing element, so when hitting the layer of the 5046 // flowthread (e.g. the descent area of the RootInlineBox for the image flowed alone 5047 // inside the flow thread) we're letting the hit testing continue so it will hit the region. 5048 return false; 5049 } 5050 5044 5051 Element* e = enclosingElement(); 5045 5052 if (!result.innerNode())
Note: See TracChangeset
for help on using the changeset viewer.