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.cpp331 ObjectFit objectFit = style()->objectFit(); in replacedContentRect() local
333 …if (objectFit == ObjectFitFill && style()->objectPosition() == RenderStyle::initialObjectPosition(… in replacedContentRect()
336 objectFit = ObjectFitContain; in replacedContentRect()
344 switch (objectFit) { in replacedContentRect()
348 …finalRect.setSize(finalRect.size().fitToAspectRatio(intrinsicSize, objectFit == ObjectFitCover ? A… in replacedContentRect()
349 if (objectFit != ObjectFitScaleDown || finalRect.width() <= intrinsicSize.width()) in replacedContentRect()
DRenderImage.cpp509 ObjectFit objectFit = style()->objectFit(); in foregroundIsKnownToBeOpaqueInRect() local
510 if (objectFit != ObjectFitFill && objectFit != ObjectFitCover) in foregroundIsKnownToBeOpaqueInRect()
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/
DRenderStyle.h849 … ObjectFit objectFit() const { return static_cast<ObjectFit>(rareNonInheritedData->m_objectFit); } in objectFit() function
/external/chromium_org/third_party/WebKit/Source/core/css/
DCSSComputedStyleDeclaration.cpp2194 return cssValuePool().createValue(style->objectFit()); in getPropertyCSSValue()