DescriptionReturn an infinite rect when calling RenderLayerClipper::parentClipRects on the root context layer
When calling RenderLayerClipper::backgroundClipRect on the
RenderLayerClipper object corresponding to the RenderLayer
which is equal to clipRectsContext.rootLayer, it first calls
parentClipRects on the clipper of that RenderLayer's parent.
In turn, this starts a recursive walk up the RenderLayer
tree in updateClipRects. This is incorrect, since a
RenderLayerClipper object is unable to clip above rootLayer
in the render tree. In particular, the recursion condition
in updateClipRects
depends on the recursion starting at a layer which is below
or equal to rootLayer.
BUG=336563
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=170234
Patch Set 1 #Patch Set 2 : Fix. #Patch Set 3 : Add a test. #Patch Set 4 : Adjust. #Patch Set 5 : Comment. #
Total comments: 2
Patch Set 6 : Fixed nit. #
Messages
Total messages: 13 (0 generated)
|