Chromium Code Reviews| 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 1031 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1042 } | 1042 } |
| 1043 return false; | 1043 return false; |
| 1044 } | 1044 } |
| 1045 break; | 1045 break; |
| 1046 case CSSPropertyWebkitBoxReflect: | 1046 case CSSPropertyWebkitBoxReflect: |
| 1047 if (id == CSSValueNone) | 1047 if (id == CSSValueNone) |
| 1048 validPrimitive = true; | 1048 validPrimitive = true; |
| 1049 else | 1049 else |
| 1050 parsedValue = parseReflect(); | 1050 parsedValue = parseReflect(); |
| 1051 break; | 1051 break; |
| 1052 case CSSPropertyFontSizeAdjust: // none | <number> | |
|
rune
2015/02/19 20:28:27
Missing handling for 'none' keyword?
| |
| 1053 ASSERT(RuntimeEnabledFeatures::cssFontSizeAdjustEnabled()); | |
| 1054 validPrimitive = validUnit(value, FNumber | FNonNeg); | |
| 1055 break; | |
| 1052 case CSSPropertyOpacity: | 1056 case CSSPropertyOpacity: |
| 1053 validPrimitive = validUnit(value, FNumber); | 1057 validPrimitive = validUnit(value, FNumber); |
| 1054 break; | 1058 break; |
| 1055 case CSSPropertyWebkitBoxFlex: | 1059 case CSSPropertyWebkitBoxFlex: |
| 1056 validPrimitive = validUnit(value, FNumber); | 1060 validPrimitive = validUnit(value, FNumber); |
| 1057 break; | 1061 break; |
| 1058 case CSSPropertyWebkitBoxFlexGroup: | 1062 case CSSPropertyWebkitBoxFlexGroup: |
| 1059 validPrimitive = validUnit(value, FInteger | FNonNeg); | 1063 validPrimitive = validUnit(value, FInteger | FNonNeg); |
| 1060 break; | 1064 break; |
| 1061 case CSSPropertyWebkitBoxOrdinalGroup: | 1065 case CSSPropertyWebkitBoxOrdinalGroup: |
| (...skipping 7455 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 8517 } | 8521 } |
| 8518 } | 8522 } |
| 8519 | 8523 |
| 8520 if (!list->length()) | 8524 if (!list->length()) |
| 8521 return nullptr; | 8525 return nullptr; |
| 8522 | 8526 |
| 8523 return list.release(); | 8527 return list.release(); |
| 8524 } | 8528 } |
| 8525 | 8529 |
| 8526 } // namespace blink | 8530 } // namespace blink |
| OLD | NEW |