Index: Source/core/css/resolver/StyleAdjuster.cpp |
diff --git a/Source/core/css/resolver/StyleAdjuster.cpp b/Source/core/css/resolver/StyleAdjuster.cpp |
index cffe90e1a6a699f5bde5aa09d48f237edde15443..ee2d4272bc03e9c41566e5268ab8a56f96c3fb19 100644 |
--- a/Source/core/css/resolver/StyleAdjuster.cpp |
+++ b/Source/core/css/resolver/StyleAdjuster.cpp |
@@ -243,6 +243,13 @@ void StyleAdjuster::adjustComputedStyle(ComputedStyle& style, const ComputedStyl |
style.clearMultiCol(); |
} |
adjustStyleForAlignment(style, parentStyle); |
+ |
+ if (e) { |
+ if (style.width().type() == Intrinsic || style.minWidth().type() == Intrinsic || style.maxWidth().type() == Intrinsic |
+ || style.height().type() == Intrinsic || style.minHeight().type() == Intrinsic || style.maxHeight().type() == Intrinsic |
+ || style.flexBasis().type() == Intrinsic) |
+ UseCounter::countDeprecation(e->document(), UseCounter::LegacyCSSValueIntrinsic); |
+ } |
} |
void StyleAdjuster::adjustStyleForFirstLetter(ComputedStyle& style) |