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

Unified Diff: third_party/WebKit/Source/core/css/properties/CSSShorthandPropertyAPIWebkitMarginCollapse.cpp

Issue 2938983002: Implement parseShorthand API for shorthand properties, "overflow", "font" and "font-variant" (Closed)
Patch Set: Replace ImplicitProperty by IsImplicitProperty Created 3 years, 6 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 | « third_party/WebKit/Source/core/css/properties/CSSShorthandPropertyAPIOverflow.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/css/properties/CSSShorthandPropertyAPIWebkitMarginCollapse.cpp
diff --git a/third_party/WebKit/Source/core/css/properties/CSSShorthandPropertyAPIWebkitMarginCollapse.cpp b/third_party/WebKit/Source/core/css/properties/CSSShorthandPropertyAPIWebkitMarginCollapse.cpp
index cf22436b2d7398c2a590763bf3e02482ea477663..970c165d034e9e2d359cdfc48b76c47904042be2 100644
--- a/third_party/WebKit/Source/core/css/properties/CSSShorthandPropertyAPIWebkitMarginCollapse.cpp
+++ b/third_party/WebKit/Source/core/css/properties/CSSShorthandPropertyAPIWebkitMarginCollapse.cpp
@@ -25,12 +25,14 @@ bool CSSShorthandPropertyAPIWebkitMarginCollapse::parseShorthand(
CSSValue* before_collapse = CSSIdentifierValue::Create(id);
CSSPropertyParserHelpers::AddProperty(
CSSPropertyWebkitMarginBeforeCollapse, CSSPropertyWebkitMarginCollapse,
- *before_collapse, important, false /* implicit */, properties);
+ *before_collapse, important,
+ CSSPropertyParserHelpers::IsImplicitProperty::kNotImplicit, properties);
if (range.AtEnd()) {
CSSPropertyParserHelpers::AddProperty(
CSSPropertyWebkitMarginAfterCollapse, CSSPropertyWebkitMarginCollapse,
- *before_collapse, important, false /* implicit */, properties);
+ *before_collapse, important,
+ CSSPropertyParserHelpers::IsImplicitProperty::kNotImplicit, properties);
return true;
}
@@ -40,8 +42,8 @@ bool CSSShorthandPropertyAPIWebkitMarginCollapse::parseShorthand(
return false;
CSSPropertyParserHelpers::AddProperty(
CSSPropertyWebkitMarginAfterCollapse, CSSPropertyWebkitMarginCollapse,
- *CSSIdentifierValue::Create(id), important, false /* implicit */,
- properties);
+ *CSSIdentifierValue::Create(id), important,
+ CSSPropertyParserHelpers::IsImplicitProperty::kNotImplicit, properties);
return true;
}
« no previous file with comments | « third_party/WebKit/Source/core/css/properties/CSSShorthandPropertyAPIOverflow.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698