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 655 matching lines...) Loading... |
666 id = CSSValuePointer; | 666 id = CSSValuePointer; |
667 validPrimitive = true; | 667 validPrimitive = true; |
668 } else if ((value->id >= CSSValueAuto && value->id <= CSSValueWebkit
ZoomOut) || value->id == CSSValueCopy || value->id == CSSValueNone) | 668 } else if ((value->id >= CSSValueAuto && value->id <= CSSValueWebkit
ZoomOut) || value->id == CSSValueCopy || value->id == CSSValueNone) |
669 validPrimitive = true; | 669 validPrimitive = true; |
670 } else { | 670 } else { |
671 ASSERT_NOT_REACHED(); | 671 ASSERT_NOT_REACHED(); |
672 return false; | 672 return false; |
673 } | 673 } |
674 break; | 674 break; |
675 } | 675 } |
| 676 case CSSPropertyImageOrientation: |
| 677 validPrimitive = value->id == CSSValueFromImage || (value->unit != CSSPr
imitiveValue::CSS_NUMBER && validUnit(value, FAngle) && value->fValue == 0); |
| 678 break; |
676 | 679 |
677 case CSSPropertyBackgroundBlendMode: | 680 case CSSPropertyBackgroundBlendMode: |
678 case CSSPropertyBackgroundAttachment: | 681 case CSSPropertyBackgroundAttachment: |
679 case CSSPropertyBackgroundClip: | 682 case CSSPropertyBackgroundClip: |
680 case CSSPropertyWebkitBackgroundClip: | 683 case CSSPropertyWebkitBackgroundClip: |
681 case CSSPropertyWebkitBackgroundComposite: | 684 case CSSPropertyWebkitBackgroundComposite: |
682 case CSSPropertyBackgroundImage: | 685 case CSSPropertyBackgroundImage: |
683 case CSSPropertyBackgroundOrigin: | 686 case CSSPropertyBackgroundOrigin: |
684 case CSSPropertyMaskSourceType: | 687 case CSSPropertyMaskSourceType: |
685 case CSSPropertyWebkitBackgroundOrigin: | 688 case CSSPropertyWebkitBackgroundOrigin: |
(...skipping 7493 matching lines...) Loading... |
8179 } | 8182 } |
8180 } | 8183 } |
8181 | 8184 |
8182 if (!list->length()) | 8185 if (!list->length()) |
8183 return nullptr; | 8186 return nullptr; |
8184 | 8187 |
8185 return list.release(); | 8188 return list.release(); |
8186 } | 8189 } |
8187 | 8190 |
8188 } // namespace blink | 8191 } // namespace blink |
OLD | NEW |