Index: Source/core/css/resolver/StyleAdjuster.cpp |
diff --git a/Source/core/css/resolver/StyleAdjuster.cpp b/Source/core/css/resolver/StyleAdjuster.cpp |
index d59b7093b148ea0c72118369569e90bd52e9b4b4..c8fd8aa82ed38fc4e1fcd32ff254bf1d5671a2b7 100644 |
--- a/Source/core/css/resolver/StyleAdjuster.cpp |
+++ b/Source/core/css/resolver/StyleAdjuster.cpp |
@@ -356,10 +356,6 @@ void StyleAdjuster::adjustRenderStyle(RenderStyle* style, RenderStyle* parentSty |
|| style->hasFilter())) |
style->setTransformStyle3D(TransformStyle3DFlat); |
- // Seamless iframes behave like blocks. Map their display to inline-block when marked inline. |
- if (e && e->hasTagName(iframeTag) && style->display() == INLINE && toHTMLIFrameElement(e)->shouldDisplaySeamlessly()) |
- style->setDisplay(INLINE_BLOCK); |
- |
adjustGridItemPosition(style, parentStyle); |
if (e && e->isSVGElement()) { |