Home | History | Annotate | Download | only in rendering

Lines Matching refs:ancestorLayer

1809 void RenderLayer::convertToPixelSnappedLayerCoords(const RenderLayer* ancestorLayer, IntPoint& roundedLocation) const
1812 convertToLayerCoords(ancestorLayer, location);
1816 void RenderLayer::convertToPixelSnappedLayerCoords(const RenderLayer* ancestorLayer, IntRect& roundedRect) const
1819 convertToLayerCoords(ancestorLayer, rect);
1824 static inline const RenderLayer* accumulateOffsetTowardsAncestor(const RenderLayer* layer, const RenderLayer* ancestorLayer, LayoutPoint& location)
1826 ASSERT(ancestorLayer != layer);
1841 if (position == FixedPosition && !fixedFlowThreadContainer && (!ancestorLayer || ancestorLayer == renderer->view()->layer())) {
1846 return ancestorLayer;
1850 // Otherwise, for the case of ancestorLayer == rootLayer and fixed positioned element child of a transformed
1859 if (currLayer == ancestorLayer)
1871 if (fixedPositionContainerLayer != ancestorLayer) {
1876 ancestorLayer->convertToLayerCoords(fixedPositionContainerLayer, ancestorCoords);
1882 return ancestorLayer;
1887 // Do what enclosingPositionedAncestor() does, but check for ancestorLayer along the way.
1897 if (parentLayer == ancestorLayer) {
1911 // Found ancestorLayer before the abs. positioned container, so compute offset of both relative
1919 ancestorLayer->convertToLayerCoords(positionedAncestor, ancestorCoords);
1922 return ancestorLayer;
1934 void RenderLayer::convertToLayerCoords(const RenderLayer* ancestorLayer, LayoutPoint& location) const
1936 if (ancestorLayer == this)
1940 while (currLayer && currLayer != ancestorLayer)
1941 currLayer = accumulateOffsetTowardsAncestor(currLayer, ancestorLayer, location);
1944 void RenderLayer::convertToLayerCoords(const RenderLayer* ancestorLayer, LayoutRect& rect) const
1947 convertToLayerCoords(ancestorLayer, delta);
4068 RenderLayer* ancestorLayer = isNormalFlowOnly() ? parent() : ancestorStackingContainer();
4072 if (curr == ancestorLayer)
4666 RenderLayer* ancestorLayer = isNormalFlowOnly() ? parent() : ancestorStackingContainer();
4670 if (curr == ancestorLayer)
5153 LayoutRect RenderLayer::boundingBox(const RenderLayer* ancestorLayer, CalculateLayerBoundsFlags flags, const LayoutPoint* offsetFromRoot) const
5175 enclosingPaginationLayer()->convertToLayerCoords(ancestorLayer, delta);
5184 convertToLayerCoords(ancestorLayer, delta);
5195 IntRect RenderLayer::calculateLayerBounds(const RenderLayer* ancestorLayer, const LayoutPoint* offsetFromRoot, CalculateLayerBoundsFlags flags) const
5201 if ((flags & ExcludeHiddenDescendants) && this != ancestorLayer && !hasVisibleContent() && !hasVisibleDescendant())
5240 convertToLayerCoords(ancestorLayer, ancestorRelOffset);
5313 convertToLayerCoords(ancestorLayer, ancestorRelOffset);