| 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 2688 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2699 return cssValuePool().createValue(1, CSSPrimitiveValue::UnitType::Nu
mber); | 2699 return cssValuePool().createValue(1, CSSPrimitiveValue::UnitType::Nu
mber); |
| 2700 RefPtrWillBeRawPtr<CSSValueList> list = CSSValueList::createSpaceSeparat
ed(); | 2700 RefPtrWillBeRawPtr<CSSValueList> list = CSSValueList::createSpaceSeparat
ed(); |
| 2701 list->append(cssValuePool().createValue(style.scale()->x(), CSSPrimitive
Value::UnitType::Number)); | 2701 list->append(cssValuePool().createValue(style.scale()->x(), CSSPrimitive
Value::UnitType::Number)); |
| 2702 if (style.scale()->y() == 1 && style.scale()->z() == 1) | 2702 if (style.scale()->y() == 1 && style.scale()->z() == 1) |
| 2703 return list.release(); | 2703 return list.release(); |
| 2704 list->append(cssValuePool().createValue(style.scale()->y(), CSSPrimitive
Value::UnitType::Number)); | 2704 list->append(cssValuePool().createValue(style.scale()->y(), CSSPrimitive
Value::UnitType::Number)); |
| 2705 if (style.scale()->z() != 1) | 2705 if (style.scale()->z() != 1) |
| 2706 list->append(cssValuePool().createValue(style.scale()->z(), CSSPrimi
tiveValue::UnitType::Number)); | 2706 list->append(cssValuePool().createValue(style.scale()->z(), CSSPrimi
tiveValue::UnitType::Number)); |
| 2707 return list.release(); | 2707 return list.release(); |
| 2708 } | 2708 } |
| 2709 case CSSPropertyVariable: |
| 2710 ASSERT_NOT_REACHED(); |
| 2711 return nullptr; |
| 2709 case CSSPropertyAll: | 2712 case CSSPropertyAll: |
| 2710 return nullptr; | 2713 return nullptr; |
| 2711 default: | 2714 default: |
| 2712 break; | 2715 break; |
| 2713 } | 2716 } |
| 2714 ASSERT_NOT_REACHED(); | 2717 ASSERT_NOT_REACHED(); |
| 2715 return nullptr; | 2718 return nullptr; |
| 2716 } | 2719 } |
| 2717 | 2720 |
| 2718 } | 2721 } |
| OLD | NEW |