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

Unified Diff: third_party/WebKit/Source/core/css/parser/CSSPropertyParser.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/parser/CSSPropertyParser.cpp
diff --git a/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp b/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp
index 5d73210fff7c5d6fe4b1556c003ccbd3d01e95eb..d86ed7e66f83bca40c9322689126f8d0a059699e 100644
--- a/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp
+++ b/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp
@@ -802,16 +802,10 @@ static PassRefPtrWillBeRawPtr<CSSValue> consumeTextIndent(CSSParserTokenRange& r
static bool validWidthOrHeightKeyword(CSSValueID id, const CSSParserContext& context)
{
- if (id == CSSValueIntrinsic || id == CSSValueMinIntrinsic
- || id == CSSValueWebkitMinContent || id == CSSValueWebkitMaxContent || id == CSSValueWebkitFillAvailable || id == CSSValueWebkitFitContent
+ if (id == CSSValueWebkitMinContent || id == CSSValueWebkitMaxContent || id == CSSValueWebkitFillAvailable || id == CSSValueWebkitFitContent
|| id == CSSValueMinContent || id == CSSValueMaxContent || id == CSSValueFitContent) {
if (context.useCounter()) {
switch (id) {
- case CSSValueIntrinsic:
- case CSSValueMinIntrinsic:
- // These two will be counted in StyleAdjuster because they emit a deprecation
- // message, and we don't have access to a Document/LocalFrame here.
- break;
case CSSValueWebkitMinContent:
context.useCounter()->count(UseCounter::CSSValuePrefixedMinContent);
break;
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSValueKeywords.in ('k') | third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698