Home
last modified time | relevance | path

Searched refs:objectFit (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderReplaced.cpp290 ObjectFit objectFit = style()->objectFit(); in replacedContentRect() local
292 …if (objectFit == ObjectFitFill && style()->objectPosition() == RenderStyle::initialObjectPosition(… in replacedContentRect()
301 switch (objectFit) { in replacedContentRect()
305 …finalRect.setSize(finalRect.size().fitToAspectRatio(intrinsicSize, objectFit == ObjectFitCover ? A… in replacedContentRect()
306 if (objectFit != ObjectFitScaleDown || finalRect.width() <= intrinsicSize.width()) in replacedContentRect()
DRenderImage.cpp328 ObjectFit objectFit = style()->objectFit(); in foregroundIsKnownToBeOpaqueInRect() local
329 if (objectFit != ObjectFitFill && objectFit != ObjectFitCover) in foregroundIsKnownToBeOpaqueInRect()
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/
DRenderStyle.h879 … ObjectFit objectFit() const { return static_cast<ObjectFit>(rareNonInheritedData->m_objectFit); } in objectFit() function
/external/chromium_org/third_party/WebKit/Source/core/css/
DCSSComputedStyleDeclaration.cpp2087 return cssValuePool().createValue(style->objectFit()); in getPropertyCSSValue()