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

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

Issue 2750843002: [css-align] Adapt content-alignment properties to the new baseline syntax (Closed)
Patch Set: Don't use raw pointers attributes on a GC managed class. Created 3 years, 9 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/properties/CSSPropertyAPIAlignOrJustifyContent.cpp
diff --git a/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIAlignOrJustifyContent.cpp b/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIAlignOrJustifyContent.cpp
index 74828c4f33adb5cf0de606acd7ba54ef05e6ebe3..2db116e9e36de5b4765df0040d58968990f6918a 100644
--- a/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIAlignOrJustifyContent.cpp
+++ b/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIAlignOrJustifyContent.cpp
@@ -4,4 +4,17 @@
#include "core/css/properties/CSSPropertyAPIAlignOrJustifyContent.h"
-namespace blink {} // namespace blink
+#include "core/css/properties/CSSPropertyAlignmentUtils.h"
+#include "platform/RuntimeEnabledFeatures.h"
+
+namespace blink {
+
+const CSSValue* CSSPropertyAPIAlignOrJustifyContent::parseSingleValue(
+ CSSParserTokenRange& range,
+ const CSSParserContext* context) {
+ DCHECK(RuntimeEnabledFeatures::cssGridLayoutEnabled());
+ return CSSPropertyAlignmentUtils::consumeContentDistributionOverflowPosition(
+ range);
+}
+
+} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698