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 627 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
638 id = CSSValuePointer; | 638 id = CSSValuePointer; |
639 validPrimitive = true; | 639 validPrimitive = true; |
640 } else if ((value->id >= CSSValueAuto && value->id <= CSSValueWebkit
ZoomOut) || value->id == CSSValueCopy || value->id == CSSValueNone) | 640 } else if ((value->id >= CSSValueAuto && value->id <= CSSValueWebkit
ZoomOut) || value->id == CSSValueCopy || value->id == CSSValueNone) |
641 validPrimitive = true; | 641 validPrimitive = true; |
642 } else { | 642 } else { |
643 ASSERT_NOT_REACHED(); | 643 ASSERT_NOT_REACHED(); |
644 return false; | 644 return false; |
645 } | 645 } |
646 break; | 646 break; |
647 } | 647 } |
| 648 case CSSPropertyImageOrientation: |
| 649 if (RuntimeEnabledFeatures::imageOrientationEnabled()) |
| 650 validPrimitive = value->id == CSSValueFromImage || (value->unit != C
SSPrimitiveValue::CSS_NUMBER && validUnit(value, FAngle) && value->fValue == 0); |
| 651 break; |
648 | 652 |
649 case CSSPropertyBackgroundBlendMode: | 653 case CSSPropertyBackgroundBlendMode: |
650 case CSSPropertyBackgroundAttachment: | 654 case CSSPropertyBackgroundAttachment: |
651 case CSSPropertyBackgroundClip: | 655 case CSSPropertyBackgroundClip: |
652 case CSSPropertyWebkitBackgroundClip: | 656 case CSSPropertyWebkitBackgroundClip: |
653 case CSSPropertyWebkitBackgroundComposite: | 657 case CSSPropertyWebkitBackgroundComposite: |
654 case CSSPropertyBackgroundImage: | 658 case CSSPropertyBackgroundImage: |
655 case CSSPropertyBackgroundOrigin: | 659 case CSSPropertyBackgroundOrigin: |
656 case CSSPropertyMaskSourceType: | 660 case CSSPropertyMaskSourceType: |
657 case CSSPropertyWebkitBackgroundOrigin: | 661 case CSSPropertyWebkitBackgroundOrigin: |
(...skipping 7494 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8152 } | 8156 } |
8153 } | 8157 } |
8154 | 8158 |
8155 if (!list->length()) | 8159 if (!list->length()) |
8156 return nullptr; | 8160 return nullptr; |
8157 | 8161 |
8158 return list.release(); | 8162 return list.release(); |
8159 } | 8163 } |
8160 | 8164 |
8161 } // namespace blink | 8165 } // namespace blink |
OLD | NEW |