| 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 1015 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1026 case CSSPropertyWebkitBoxFlex: | 1026 case CSSPropertyWebkitBoxFlex: |
| 1027 validPrimitive = validUnit(value, FNumber); | 1027 validPrimitive = validUnit(value, FNumber); |
| 1028 break; | 1028 break; |
| 1029 case CSSPropertyWebkitBoxFlexGroup: | 1029 case CSSPropertyWebkitBoxFlexGroup: |
| 1030 validPrimitive = validUnit(value, FInteger | FNonNeg); | 1030 validPrimitive = validUnit(value, FInteger | FNonNeg); |
| 1031 break; | 1031 break; |
| 1032 case CSSPropertyWebkitBoxOrdinalGroup: | 1032 case CSSPropertyWebkitBoxOrdinalGroup: |
| 1033 validPrimitive = validUnit(value, FInteger | FNonNeg) && value->fValue; | 1033 validPrimitive = validUnit(value, FInteger | FNonNeg) && value->fValue; |
| 1034 break; | 1034 break; |
| 1035 case CSSPropertyWebkitFilter: | 1035 case CSSPropertyWebkitFilter: |
| 1036 case CSSPropertyBackdropFilter: |
| 1036 if (id == CSSValueNone) | 1037 if (id == CSSValueNone) |
| 1037 validPrimitive = true; | 1038 validPrimitive = true; |
| 1038 else { | 1039 else { |
| 1039 RefPtrWillBeRawPtr<CSSValue> val = parseFilter(); | 1040 RefPtrWillBeRawPtr<CSSValue> val = parseFilter(); |
| 1040 if (val) { | 1041 if (val) { |
| 1041 addProperty(propId, val, important); | 1042 addProperty(propId, val, important); |
| 1042 return true; | 1043 return true; |
| 1043 } | 1044 } |
| 1044 return false; | 1045 return false; |
| 1045 } | 1046 } |
| (...skipping 7061 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8107 } | 8108 } |
| 8108 } | 8109 } |
| 8109 | 8110 |
| 8110 if (!list->length()) | 8111 if (!list->length()) |
| 8111 return nullptr; | 8112 return nullptr; |
| 8112 | 8113 |
| 8113 return list.release(); | 8114 return list.release(); |
| 8114 } | 8115 } |
| 8115 | 8116 |
| 8116 } // namespace blink | 8117 } // namespace blink |
| OLD | NEW |