OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2003 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 2003 Lars Knoll (knoll@kde.org) |
3 * Copyright (C) 2005 Allan Sandfeld Jensen (kde@carewolf.com) | 3 * Copyright (C) 2005 Allan Sandfeld Jensen (kde@carewolf.com) |
4 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc.
All rights reserved. | 4 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc.
All rights reserved. |
5 * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com> | 5 * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com> |
6 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> | 6 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> |
7 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) | 7 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) |
8 * Copyright (C) 2012 Adobe Systems Incorporated. All rights reserved. | 8 * Copyright (C) 2012 Adobe Systems Incorporated. All rights reserved. |
9 * Copyright (C) 2012 Intel Corporation. All rights reserved. | 9 * Copyright (C) 2012 Intel Corporation. All rights reserved. |
10 * | 10 * |
(...skipping 1034 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1045 } | 1045 } |
1046 return false; | 1046 return false; |
1047 } | 1047 } |
1048 break; | 1048 break; |
1049 case CSSPropertyWebkitBoxReflect: | 1049 case CSSPropertyWebkitBoxReflect: |
1050 if (id == CSSValueNone) | 1050 if (id == CSSValueNone) |
1051 validPrimitive = true; | 1051 validPrimitive = true; |
1052 else | 1052 else |
1053 parsedValue = parseReflect(); | 1053 parsedValue = parseReflect(); |
1054 break; | 1054 break; |
| 1055 case CSSPropertyFontSizeAdjust: // none | <number> |
| 1056 ASSERT(RuntimeEnabledFeatures::cssFontSizeAdjustEnabled()); |
| 1057 validPrimitive = (id == CSSValueNone) ? true : validUnit(value, FNumber
| FNonNeg); |
| 1058 break; |
1055 case CSSPropertyOpacity: | 1059 case CSSPropertyOpacity: |
1056 validPrimitive = validUnit(value, FNumber); | 1060 validPrimitive = validUnit(value, FNumber); |
1057 break; | 1061 break; |
1058 case CSSPropertyWebkitBoxFlex: | 1062 case CSSPropertyWebkitBoxFlex: |
1059 validPrimitive = validUnit(value, FNumber); | 1063 validPrimitive = validUnit(value, FNumber); |
1060 break; | 1064 break; |
1061 case CSSPropertyWebkitBoxFlexGroup: | 1065 case CSSPropertyWebkitBoxFlexGroup: |
1062 validPrimitive = validUnit(value, FInteger | FNonNeg); | 1066 validPrimitive = validUnit(value, FInteger | FNonNeg); |
1063 break; | 1067 break; |
1064 case CSSPropertyWebkitBoxOrdinalGroup: | 1068 case CSSPropertyWebkitBoxOrdinalGroup: |
(...skipping 7406 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8471 } | 8475 } |
8472 } | 8476 } |
8473 | 8477 |
8474 if (!list->length()) | 8478 if (!list->length()) |
8475 return nullptr; | 8479 return nullptr; |
8476 | 8480 |
8477 return list.release(); | 8481 return list.release(); |
8478 } | 8482 } |
8479 | 8483 |
8480 } // namespace blink | 8484 } // namespace blink |
OLD | NEW |