Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "core/css/parser/CSSParserFastPaths.h" | 5 #include "core/css/parser/CSSParserFastPaths.h" |
| 6 | 6 |
| 7 #include "core/StylePropertyShorthand.h" | 7 #include "core/StylePropertyShorthand.h" |
| 8 #include "core/css/CSSColorValue.h" | 8 #include "core/css/CSSColorValue.h" |
| 9 #include "core/css/CSSFunctionValue.h" | 9 #include "core/css/CSSFunctionValue.h" |
| 10 #include "core/css/CSSIdentifierValue.h" | 10 #include "core/css/CSSIdentifierValue.h" |
| (...skipping 20 matching lines...) Expand all Loading... | |
| 31 case CSSPropertyMinHeight: | 31 case CSSPropertyMinHeight: |
| 32 case CSSPropertyMinWidth: | 32 case CSSPropertyMinWidth: |
| 33 case CSSPropertyPaddingBottom: | 33 case CSSPropertyPaddingBottom: |
| 34 case CSSPropertyPaddingLeft: | 34 case CSSPropertyPaddingLeft: |
| 35 case CSSPropertyPaddingRight: | 35 case CSSPropertyPaddingRight: |
| 36 case CSSPropertyPaddingTop: | 36 case CSSPropertyPaddingTop: |
| 37 case CSSPropertyWebkitLogicalWidth: | 37 case CSSPropertyWebkitLogicalWidth: |
| 38 case CSSPropertyWebkitLogicalHeight: | 38 case CSSPropertyWebkitLogicalHeight: |
| 39 case CSSPropertyWebkitMinLogicalWidth: | 39 case CSSPropertyWebkitMinLogicalWidth: |
| 40 case CSSPropertyWebkitMinLogicalHeight: | 40 case CSSPropertyWebkitMinLogicalHeight: |
| 41 case CSSPropertyInlineSize: | |
|
cbiesinger
2016/12/16 18:51:49
these too
| |
| 42 case CSSPropertyBlockSize: | |
| 43 case CSSPropertyMinInlineSize: | |
| 44 case CSSPropertyMinBlockSize: | |
| 41 case CSSPropertyWebkitPaddingAfter: | 45 case CSSPropertyWebkitPaddingAfter: |
| 42 case CSSPropertyWebkitPaddingBefore: | 46 case CSSPropertyWebkitPaddingBefore: |
| 43 case CSSPropertyWebkitPaddingEnd: | 47 case CSSPropertyWebkitPaddingEnd: |
| 44 case CSSPropertyWebkitPaddingStart: | 48 case CSSPropertyWebkitPaddingStart: |
| 45 case CSSPropertyShapeMargin: | 49 case CSSPropertyShapeMargin: |
| 46 case CSSPropertyR: | 50 case CSSPropertyR: |
| 47 case CSSPropertyRx: | 51 case CSSPropertyRx: |
| 48 case CSSPropertyRy: | 52 case CSSPropertyRy: |
| 49 acceptsNegativeNumbers = false; | 53 acceptsNegativeNumbers = false; |
| 50 return true; | 54 return true; |
| (...skipping 1150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1201 if (isColorPropertyID(propertyID)) | 1205 if (isColorPropertyID(propertyID)) |
| 1202 return parseColor(string, parserMode); | 1206 return parseColor(string, parserMode); |
| 1203 if (CSSValue* keyword = parseKeywordValue(propertyID, string, parserMode)) | 1207 if (CSSValue* keyword = parseKeywordValue(propertyID, string, parserMode)) |
| 1204 return keyword; | 1208 return keyword; |
| 1205 if (CSSValue* transform = parseSimpleTransform(propertyID, string)) | 1209 if (CSSValue* transform = parseSimpleTransform(propertyID, string)) |
| 1206 return transform; | 1210 return transform; |
| 1207 return nullptr; | 1211 return nullptr; |
| 1208 } | 1212 } |
| 1209 | 1213 |
| 1210 } // namespace blink | 1214 } // namespace blink |
| OLD | NEW |