Index: Source/core/css/resolver/StyleResolver.cpp |
diff --git a/Source/core/css/resolver/StyleResolver.cpp b/Source/core/css/resolver/StyleResolver.cpp |
index 074eeb7c96183fe2185425ff32ef00c2ba0f2bda..87a6994b07974861020804f9ca8cf66863907085 100644 |
--- a/Source/core/css/resolver/StyleResolver.cpp |
+++ b/Source/core/css/resolver/StyleResolver.cpp |
@@ -1357,14 +1357,6 @@ void StyleResolver::applyProperties(StyleResolverState& state, const StyleProper |
if (!isPropertyForPass<pass>(property)) |
continue; |
- if (current.value()->isUnsetValue()) { |
- if (CSSPropertyMetadata::isInheritedProperty(property)) |
- StyleBuilder::applyProperty(property, state, cssValuePool().createInheritedValue().get()); |
- else |
- StyleBuilder::applyProperty(property, state, cssValuePool().createExplicitInitialValue().get()); |
- continue; |
- } |
- |
StyleBuilder::applyProperty(current.id(), state, current.value()); |
} |
} |