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 "config.h" | 5 #include "config.h" |
6 #include "core/css/parser/CSSParserFastPaths.h" | 6 #include "core/css/parser/CSSParserFastPaths.h" |
7 | 7 |
8 #include "core/StylePropertyShorthand.h" | 8 #include "core/StylePropertyShorthand.h" |
9 #include "core/css/CSSFunctionValue.h" | 9 #include "core/css/CSSFunctionValue.h" |
10 #include "core/css/CSSValuePool.h" | 10 #include "core/css/CSSValuePool.h" |
(...skipping 19 matching lines...) Expand all Loading... |
30 case CSSPropertyPaddingTop: | 30 case CSSPropertyPaddingTop: |
31 case CSSPropertyWebkitLogicalWidth: | 31 case CSSPropertyWebkitLogicalWidth: |
32 case CSSPropertyWebkitLogicalHeight: | 32 case CSSPropertyWebkitLogicalHeight: |
33 case CSSPropertyWebkitMinLogicalWidth: | 33 case CSSPropertyWebkitMinLogicalWidth: |
34 case CSSPropertyWebkitMinLogicalHeight: | 34 case CSSPropertyWebkitMinLogicalHeight: |
35 case CSSPropertyWebkitPaddingAfter: | 35 case CSSPropertyWebkitPaddingAfter: |
36 case CSSPropertyWebkitPaddingBefore: | 36 case CSSPropertyWebkitPaddingBefore: |
37 case CSSPropertyWebkitPaddingEnd: | 37 case CSSPropertyWebkitPaddingEnd: |
38 case CSSPropertyWebkitPaddingStart: | 38 case CSSPropertyWebkitPaddingStart: |
39 case CSSPropertyShapeMargin: | 39 case CSSPropertyShapeMargin: |
| 40 case CSSPropertyR: |
40 case CSSPropertyRx: | 41 case CSSPropertyRx: |
41 case CSSPropertyRy: | 42 case CSSPropertyRy: |
42 acceptsNegativeNumbers = false; | 43 acceptsNegativeNumbers = false; |
43 return true; | 44 return true; |
44 case CSSPropertyBottom: | 45 case CSSPropertyBottom: |
| 46 case CSSPropertyCx: |
| 47 case CSSPropertyCy: |
45 case CSSPropertyLeft: | 48 case CSSPropertyLeft: |
46 case CSSPropertyMarginBottom: | 49 case CSSPropertyMarginBottom: |
47 case CSSPropertyMarginLeft: | 50 case CSSPropertyMarginLeft: |
48 case CSSPropertyMarginRight: | 51 case CSSPropertyMarginRight: |
49 case CSSPropertyMarginTop: | 52 case CSSPropertyMarginTop: |
50 case CSSPropertyRight: | 53 case CSSPropertyRight: |
51 case CSSPropertyTop: | 54 case CSSPropertyTop: |
52 case CSSPropertyWebkitMarginAfter: | 55 case CSSPropertyWebkitMarginAfter: |
53 case CSSPropertyWebkitMarginBefore: | 56 case CSSPropertyWebkitMarginBefore: |
54 case CSSPropertyWebkitMarginEnd: | 57 case CSSPropertyWebkitMarginEnd: |
(...skipping 605 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
660 if (RefPtrWillBeRawPtr<CSSValue> color = parseColorValue(propertyID, string,
parserMode)) | 663 if (RefPtrWillBeRawPtr<CSSValue> color = parseColorValue(propertyID, string,
parserMode)) |
661 return color.release(); | 664 return color.release(); |
662 if (RefPtrWillBeRawPtr<CSSValue> keyword = parseKeywordValue(propertyID, str
ing)) | 665 if (RefPtrWillBeRawPtr<CSSValue> keyword = parseKeywordValue(propertyID, str
ing)) |
663 return keyword.release(); | 666 return keyword.release(); |
664 if (RefPtrWillBeRawPtr<CSSValue> transform = parseSimpleTransform(propertyID
, string)) | 667 if (RefPtrWillBeRawPtr<CSSValue> transform = parseSimpleTransform(propertyID
, string)) |
665 return transform.release(); | 668 return transform.release(); |
666 return nullptr; | 669 return nullptr; |
667 } | 670 } |
668 | 671 |
669 } // namespace blink | 672 } // namespace blink |
OLD | NEW |