Index: third_party/WebKit/Source/core/css/properties/CSSPropertyAPIPadding.cpp |
diff --git a/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIPadding.cpp b/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIPadding.cpp |
new file mode 100644 |
index 0000000000000000000000000000000000000000..5a46c31ef963338e683577698594e5d8feee6c3c |
--- /dev/null |
+++ b/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIPadding.cpp |
@@ -0,0 +1,20 @@ |
+// Copyright 2016 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "core/css/properties/CSSPropertyAPIPadding.h" |
+ |
+#include "core/css/parser/CSSParserTokenRange.h" |
+#include "core/css/parser/CSSPropertyParserHelpers.h" |
+ |
+namespace blink { |
+ |
+const CSSValue* CSSPropertyAPIWebkitPadding::parseSingleValue( |
+ CSSParserTokenRange& range, |
+ const CSSParserContext& context) { |
+ return consumeLengthOrPercent( |
+ range, context.mode(), ValueRangeNonNegative, |
+ CSSPropertyParserHelpers::UnitlessQuirk::Forbid); |
+} |
+ |
+} // namespace blink |