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 20 matching lines...) Expand all Loading... |
31 #include "core/css/CSSPropertyMetadata.h" | 31 #include "core/css/CSSPropertyMetadata.h" |
32 #include "core/css/CSSSelector.h" | 32 #include "core/css/CSSSelector.h" |
33 #include "core/css/CSSValuePool.h" | 33 #include "core/css/CSSValuePool.h" |
34 #include "core/css/ComputedStyleCSSValueMapping.h" | 34 #include "core/css/ComputedStyleCSSValueMapping.h" |
35 #include "core/css/parser/CSSParser.h" | 35 #include "core/css/parser/CSSParser.h" |
36 #include "core/css/resolver/StyleResolver.h" | 36 #include "core/css/resolver/StyleResolver.h" |
37 #include "core/dom/Document.h" | 37 #include "core/dom/Document.h" |
38 #include "core/dom/ExceptionCode.h" | 38 #include "core/dom/ExceptionCode.h" |
39 #include "core/dom/PseudoElement.h" | 39 #include "core/dom/PseudoElement.h" |
40 #include "core/layout/LayoutObject.h" | 40 #include "core/layout/LayoutObject.h" |
41 #include "core/layout/style/ComputedStyle.h" | 41 #include "core/style/ComputedStyle.h" |
42 #include "wtf/text/StringBuilder.h" | 42 #include "wtf/text/StringBuilder.h" |
43 | 43 |
44 namespace blink { | 44 namespace blink { |
45 | 45 |
46 // List of all properties we know how to compute, omitting shorthands. | 46 // List of all properties we know how to compute, omitting shorthands. |
47 // NOTE: Do not use this list, use computableProperties() instead | 47 // NOTE: Do not use this list, use computableProperties() instead |
48 // to respect runtime enabling of CSS properties. | 48 // to respect runtime enabling of CSS properties. |
49 static const CSSPropertyID staticComputableProperties[] = { | 49 static const CSSPropertyID staticComputableProperties[] = { |
50 CSSPropertyAnimationDelay, | 50 CSSPropertyAnimationDelay, |
51 CSSPropertyAnimationDirection, | 51 CSSPropertyAnimationDirection, |
(...skipping 642 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
694 exceptionState.throwDOMException(NoModificationAllowedError, "These styles a
re computed, and therefore the '" + getPropertyNameString(id) + "' property is r
ead-only."); | 694 exceptionState.throwDOMException(NoModificationAllowedError, "These styles a
re computed, and therefore the '" + getPropertyNameString(id) + "' property is r
ead-only."); |
695 } | 695 } |
696 | 696 |
697 DEFINE_TRACE(CSSComputedStyleDeclaration) | 697 DEFINE_TRACE(CSSComputedStyleDeclaration) |
698 { | 698 { |
699 visitor->trace(m_node); | 699 visitor->trace(m_node); |
700 CSSStyleDeclaration::trace(visitor); | 700 CSSStyleDeclaration::trace(visitor); |
701 } | 701 } |
702 | 702 |
703 } // namespace blink | 703 } // namespace blink |
OLD | NEW |