| 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 * | 7 * |
| 8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
| 9 * modify it under the terms of the GNU Lesser General Public | 9 * modify it under the terms of the GNU Lesser General Public |
| 10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 #include "wtf/text/StringBuilder.h" | 68 #include "wtf/text/StringBuilder.h" |
| 69 | 69 |
| 70 #include "core/platform/graphics/filters/custom/CustomFilterArrayParameter.h" | 70 #include "core/platform/graphics/filters/custom/CustomFilterArrayParameter.h" |
| 71 #include "core/platform/graphics/filters/custom/CustomFilterNumberParameter.h" | 71 #include "core/platform/graphics/filters/custom/CustomFilterNumberParameter.h" |
| 72 #include "core/platform/graphics/filters/custom/CustomFilterOperation.h" | 72 #include "core/platform/graphics/filters/custom/CustomFilterOperation.h" |
| 73 #include "core/platform/graphics/filters/custom/CustomFilterParameter.h" | 73 #include "core/platform/graphics/filters/custom/CustomFilterParameter.h" |
| 74 #include "core/platform/graphics/filters/custom/CustomFilterTransformParameter.h
" | 74 #include "core/platform/graphics/filters/custom/CustomFilterTransformParameter.h
" |
| 75 | 75 |
| 76 #include "core/rendering/style/StyleCustomFilterProgram.h" | 76 #include "core/rendering/style/StyleCustomFilterProgram.h" |
| 77 | 77 |
| 78 using namespace WebCore::FontFamilyNames; |
| 79 |
| 78 namespace WebCore { | 80 namespace WebCore { |
| 79 | 81 |
| 80 // List of all properties we know how to compute, omitting shorthands. | 82 // List of all properties we know how to compute, omitting shorthands. |
| 81 // NOTE: Do not use this list, use computableProperties() instead | 83 // NOTE: Do not use this list, use computableProperties() instead |
| 82 // to respect runtime enabling of CSS properties. | 84 // to respect runtime enabling of CSS properties. |
| 83 static const CSSPropertyID staticComputableProperties[] = { | 85 static const CSSPropertyID staticComputableProperties[] = { |
| 84 CSSPropertyBackgroundAttachment, | 86 CSSPropertyBackgroundAttachment, |
| 85 CSSPropertyBackgroundBlendMode, | 87 CSSPropertyBackgroundBlendMode, |
| 86 CSSPropertyBackgroundClip, | 88 CSSPropertyBackgroundClip, |
| 87 CSSPropertyBackgroundColor, | 89 CSSPropertyBackgroundColor, |
| (...skipping 2929 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3017 static const CSSPropertyID propertiesAfterSlashSeperator[3] = { CSSPropertyB
ackgroundSize, CSSPropertyBackgroundOrigin, | 3019 static const CSSPropertyID propertiesAfterSlashSeperator[3] = { CSSPropertyB
ackgroundSize, CSSPropertyBackgroundOrigin, |
| 3018 CSSPropertyB
ackgroundClip }; | 3020 CSSPropertyB
ackgroundClip }; |
| 3019 | 3021 |
| 3020 RefPtr<CSSValueList> list = CSSValueList::createSlashSeparated(); | 3022 RefPtr<CSSValueList> list = CSSValueList::createSlashSeparated(); |
| 3021 list->append(getCSSPropertyValuesForShorthandProperties(StylePropertyShortha
nd(CSSPropertyBackground, propertiesBeforeSlashSeperator, WTF_ARRAY_LENGTH(prope
rtiesBeforeSlashSeperator)))); | 3023 list->append(getCSSPropertyValuesForShorthandProperties(StylePropertyShortha
nd(CSSPropertyBackground, propertiesBeforeSlashSeperator, WTF_ARRAY_LENGTH(prope
rtiesBeforeSlashSeperator)))); |
| 3022 list->append(getCSSPropertyValuesForShorthandProperties(StylePropertyShortha
nd(CSSPropertyBackground, propertiesAfterSlashSeperator, WTF_ARRAY_LENGTH(proper
tiesAfterSlashSeperator)))); | 3024 list->append(getCSSPropertyValuesForShorthandProperties(StylePropertyShortha
nd(CSSPropertyBackground, propertiesAfterSlashSeperator, WTF_ARRAY_LENGTH(proper
tiesAfterSlashSeperator)))); |
| 3023 return list.release(); | 3025 return list.release(); |
| 3024 } | 3026 } |
| 3025 | 3027 |
| 3026 } // namespace WebCore | 3028 } // namespace WebCore |
| OLD | NEW |