Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(171)

Unified Diff: third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp

Issue 1420303002: Remove support for intrinsic and min-intrinsic (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp
diff --git a/third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp b/third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp
index 87b4b97906a2c5031739e43b21a519270a0f2433..ff610fc7505eb5cb88eae2596ef7f27a8ba0df42 100644
--- a/third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp
+++ b/third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp
@@ -243,27 +243,6 @@ void StyleAdjuster::adjustComputedStyle(ComputedStyle& style, const ComputedStyl
style.clearMultiCol();
}
adjustStyleForAlignment(style, parentStyle);
-
- if (element) {
- 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(element->document(), UseCounter::LegacyCSSValueIntrinsic);
- }
- if ((style.width().type() == MinIntrinsic)
- | (style.minWidth().type() == MinIntrinsic)
- | (style.maxWidth().type() == MinIntrinsic)
- | (style.height().type() == MinIntrinsic)
- | (style.minHeight().type() == MinIntrinsic)
- | (style.maxHeight().type() == MinIntrinsic)
- | (style.flexBasis().type() == MinIntrinsic)) {
- UseCounter::countDeprecation(element->document(), UseCounter::LegacyCSSValueMinIntrinsic);
- }
- }
}
void StyleAdjuster::adjustStyleForFirstLetter(ComputedStyle& style)

Powered by Google App Engine
This is Rietveld 408576698