OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004 Zack Rusin <zack@kde.org> | 2 * Copyright (C) 2004 Zack Rusin <zack@kde.org> |
3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc.
All rights reserved. | 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc.
All rights reserved. |
4 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> | 4 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> |
5 * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com> | 5 * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com> |
6 * Copyright (C) 2011 Sencha, Inc. All rights reserved. | 6 * Copyright (C) 2011 Sencha, Inc. All rights reserved. |
7 * Copyright (C) 2015 Google Inc. All rights reserved. | 7 * Copyright (C) 2015 Google Inc. All rights reserved. |
8 * | 8 * |
9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
10 * modify it under the terms of the GNU Lesser General Public | 10 * modify it under the terms of the GNU Lesser General Public |
(...skipping 2670 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2681 return cssValuePool().createValue(1, CSSPrimitiveValue::CSS_NUMBER); | 2681 return cssValuePool().createValue(1, CSSPrimitiveValue::CSS_NUMBER); |
2682 RefPtrWillBeRawPtr<CSSValueList> list = CSSValueList::createSpaceSeparat
ed(); | 2682 RefPtrWillBeRawPtr<CSSValueList> list = CSSValueList::createSpaceSeparat
ed(); |
2683 list->append(cssValuePool().createValue(style.scale()->x(), CSSPrimitive
Value::CSS_NUMBER)); | 2683 list->append(cssValuePool().createValue(style.scale()->x(), CSSPrimitive
Value::CSS_NUMBER)); |
2684 if (style.scale()->y() == 1 && style.scale()->z() == 1) | 2684 if (style.scale()->y() == 1 && style.scale()->z() == 1) |
2685 return list.release(); | 2685 return list.release(); |
2686 list->append(cssValuePool().createValue(style.scale()->y(), CSSPrimitive
Value::CSS_NUMBER)); | 2686 list->append(cssValuePool().createValue(style.scale()->y(), CSSPrimitive
Value::CSS_NUMBER)); |
2687 if (style.scale()->z() != 1) | 2687 if (style.scale()->z() != 1) |
2688 list->append(cssValuePool().createValue(style.scale()->z(), CSSPrimi
tiveValue::CSS_NUMBER)); | 2688 list->append(cssValuePool().createValue(style.scale()->z(), CSSPrimi
tiveValue::CSS_NUMBER)); |
2689 return list.release(); | 2689 return list.release(); |
2690 } | 2690 } |
| 2691 case CSSPropertyVariable: |
| 2692 ASSERT_NOT_REACHED(); |
| 2693 return nullptr; |
2691 case CSSPropertyAll: | 2694 case CSSPropertyAll: |
2692 return nullptr; | 2695 return nullptr; |
2693 default: | 2696 default: |
2694 break; | 2697 break; |
2695 } | 2698 } |
2696 ASSERT_NOT_REACHED(); | 2699 ASSERT_NOT_REACHED(); |
2697 return nullptr; | 2700 return nullptr; |
2698 } | 2701 } |
2699 | 2702 |
2700 } | 2703 } |
OLD | NEW |