| 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 |
| 11 * version 2 of the License, or (at your option) any later version. | 11 * version 2 of the License, or (at your option) any later version. |
| 12 * | 12 * |
| 13 * This library is distributed in the hope that it will be useful, | 13 * This library is distributed in the hope that it will be useful, |
| 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 16 * Lesser General Public License for more details. | 16 * Lesser General Public License for more details. |
| 17 * | 17 * |
| 18 * You should have received a copy of the GNU Lesser General Public | 18 * You should have received a copy of the GNU Lesser General Public |
| 19 * License along with this library; if not, write to the Free Software | 19 * License along with this library; if not, write to the Free Software |
| 20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA | 20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA |
| 21 * 02110-1301 USA | 21 * 02110-1301 USA |
| 22 */ | 22 */ |
| 23 | 23 |
| 24 #include "config.h" | 24 #include "config.h" |
| 25 #include "core/css/CSSComputedStyleDeclaration.h" | 25 #include "core/css/CSSComputedStyleDeclaration.h" |
| 26 | 26 |
| 27 #include "CSSPropertyNames.h" | |
| 28 #include "FontFamilyNames.h" | |
| 29 #include "RuntimeEnabledFeatures.h" | |
| 30 #include "StylePropertyShorthand.h" | |
| 31 #include "bindings/v8/ExceptionState.h" | 27 #include "bindings/v8/ExceptionState.h" |
| 28 #include "core/CSSPropertyNames.h" |
| 29 #include "core/StylePropertyShorthand.h" |
| 32 #include "core/animation/DocumentAnimations.h" | 30 #include "core/animation/DocumentAnimations.h" |
| 33 #include "core/css/BasicShapeFunctions.h" | 31 #include "core/css/BasicShapeFunctions.h" |
| 34 #include "core/css/CSSArrayFunctionValue.h" | 32 #include "core/css/CSSArrayFunctionValue.h" |
| 35 #include "core/css/CSSAspectRatioValue.h" | 33 #include "core/css/CSSAspectRatioValue.h" |
| 36 #include "core/css/CSSBorderImage.h" | 34 #include "core/css/CSSBorderImage.h" |
| 37 #include "core/css/CSSFilterValue.h" | 35 #include "core/css/CSSFilterValue.h" |
| 38 #include "core/css/CSSFontFeatureValue.h" | 36 #include "core/css/CSSFontFeatureValue.h" |
| 39 #include "core/css/CSSFontValue.h" | 37 #include "core/css/CSSFontValue.h" |
| 40 #include "core/css/CSSFunctionValue.h" | 38 #include "core/css/CSSFunctionValue.h" |
| 41 #include "core/css/CSSGridLineNamesValue.h" | 39 #include "core/css/CSSGridLineNamesValue.h" |
| (...skipping 17 matching lines...) Expand all Loading... |
| 59 #include "core/dom/Document.h" | 57 #include "core/dom/Document.h" |
| 60 #include "core/dom/ExceptionCode.h" | 58 #include "core/dom/ExceptionCode.h" |
| 61 #include "core/dom/PseudoElement.h" | 59 #include "core/dom/PseudoElement.h" |
| 62 #include "core/rendering/RenderBox.h" | 60 #include "core/rendering/RenderBox.h" |
| 63 #include "core/rendering/RenderGrid.h" | 61 #include "core/rendering/RenderGrid.h" |
| 64 #include "core/rendering/style/ContentData.h" | 62 #include "core/rendering/style/ContentData.h" |
| 65 #include "core/rendering/style/CounterContent.h" | 63 #include "core/rendering/style/CounterContent.h" |
| 66 #include "core/rendering/style/RenderStyle.h" | 64 #include "core/rendering/style/RenderStyle.h" |
| 67 #include "core/rendering/style/ShadowList.h" | 65 #include "core/rendering/style/ShadowList.h" |
| 68 #include "core/rendering/style/ShapeValue.h" | 66 #include "core/rendering/style/ShapeValue.h" |
| 67 #include "platform/FontFamilyNames.h" |
| 68 #include "platform/RuntimeEnabledFeatures.h" |
| 69 #include "platform/fonts/FontFeatureSettings.h" | 69 #include "platform/fonts/FontFeatureSettings.h" |
| 70 #include "wtf/text/StringBuilder.h" | 70 #include "wtf/text/StringBuilder.h" |
| 71 | 71 |
| 72 namespace WebCore { | 72 namespace WebCore { |
| 73 | 73 |
| 74 // List of all properties we know how to compute, omitting shorthands. | 74 // List of all properties we know how to compute, omitting shorthands. |
| 75 // NOTE: Do not use this list, use computableProperties() instead | 75 // NOTE: Do not use this list, use computableProperties() instead |
| 76 // to respect runtime enabling of CSS properties. | 76 // to respect runtime enabling of CSS properties. |
| 77 static const CSSPropertyID staticComputableProperties[] = { | 77 static const CSSPropertyID staticComputableProperties[] = { |
| 78 CSSPropertyAnimationDelay, | 78 CSSPropertyAnimationDelay, |
| (...skipping 2978 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3057 return list.release(); | 3057 return list.release(); |
| 3058 } | 3058 } |
| 3059 | 3059 |
| 3060 void CSSComputedStyleDeclaration::trace(Visitor* visitor) | 3060 void CSSComputedStyleDeclaration::trace(Visitor* visitor) |
| 3061 { | 3061 { |
| 3062 visitor->trace(m_node); | 3062 visitor->trace(m_node); |
| 3063 CSSStyleDeclaration::trace(visitor); | 3063 CSSStyleDeclaration::trace(visitor); |
| 3064 } | 3064 } |
| 3065 | 3065 |
| 3066 } // namespace WebCore | 3066 } // namespace WebCore |
| OLD | NEW |