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

Unified Diff: Source/core/css/parser/CSSPropertyParser.cpp

Issue 988523003: Reimplement min-width: auto (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: review comments Created 5 years, 8 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
« no previous file with comments | « Source/core/css/mediaControls.css ('k') | Source/core/css/themeInputMultipleFields.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/parser/CSSPropertyParser.cpp
diff --git a/Source/core/css/parser/CSSPropertyParser.cpp b/Source/core/css/parser/CSSPropertyParser.cpp
index 667750ead0a019866b5b317f9e90a9eb207b7d06..146184b86d2329ba2184a247a5084f0e89854bdc 100644
--- a/Source/core/css/parser/CSSPropertyParser.cpp
+++ b/Source/core/css/parser/CSSPropertyParser.cpp
@@ -831,7 +831,7 @@ bool CSSPropertyParser::parseValue(CSSPropertyID propId, bool important)
// fall through
case CSSPropertyWebkitMinLogicalWidth:
case CSSPropertyWebkitMinLogicalHeight:
- validPrimitive = validWidthOrHeight(value, unitless);
+ validPrimitive = id == CSSValueAuto || validWidthOrHeight(value, unitless);
break;
case CSSPropertyWidth:
« no previous file with comments | « Source/core/css/mediaControls.css ('k') | Source/core/css/themeInputMultipleFields.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698