| OLD | NEW |
| 1 /* | 1 /* |
| 2 * (C) 1999-2003 Lars Knoll (knoll@kde.org) | 2 * (C) 1999-2003 Lars Knoll (knoll@kde.org) |
| 3 * Copyright (C) 2004, 2005, 2006 Apple Computer, Inc. | 3 * Copyright (C) 2004, 2005, 2006 Apple Computer, Inc. |
| 4 * | 4 * |
| 5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
| 6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
| 7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
| 8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
| 9 * | 9 * |
| 10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 bool isSetFromShorthand() const { return m_metadata.m_isSetFromShorthand; }; | 72 bool isSetFromShorthand() const { return m_metadata.m_isSetFromShorthand; }; |
| 73 CSSPropertyID shorthandID() const { return m_metadata.shorthandID(); }; | 73 CSSPropertyID shorthandID() const { return m_metadata.shorthandID(); }; |
| 74 bool isImportant() const { return m_metadata.m_important; } | 74 bool isImportant() const { return m_metadata.m_important; } |
| 75 | 75 |
| 76 CSSValue* value() const { return m_value.get(); } | 76 CSSValue* value() const { return m_value.get(); } |
| 77 | 77 |
| 78 void wrapValueInCommaSeparatedList(); | 78 void wrapValueInCommaSeparatedList(); |
| 79 | 79 |
| 80 static CSSPropertyID resolveDirectionAwareProperty(CSSPropertyID, TextDirect
ion, WritingMode); | 80 static CSSPropertyID resolveDirectionAwareProperty(CSSPropertyID, TextDirect
ion, WritingMode); |
| 81 static bool isInheritedProperty(CSSPropertyID); | 81 static bool isInheritedProperty(CSSPropertyID); |
| 82 static bool isAffectedByAllProperty(CSSPropertyID); |
| 82 | 83 |
| 83 const StylePropertyMetadata& metadata() const { return m_metadata; } | 84 const StylePropertyMetadata& metadata() const { return m_metadata; } |
| 84 | 85 |
| 85 void trace(Visitor* visitor) { visitor->trace(m_value); } | 86 void trace(Visitor* visitor) { visitor->trace(m_value); } |
| 86 | 87 |
| 87 private: | 88 private: |
| 88 StylePropertyMetadata m_metadata; | 89 StylePropertyMetadata m_metadata; |
| 89 RefPtrWillBeMember<CSSValue> m_value; | 90 RefPtrWillBeMember<CSSValue> m_value; |
| 90 }; | 91 }; |
| 91 | 92 |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 186 } | 187 } |
| 187 ASSERT(propertyId != CSSPropertyInvalid); | 188 ASSERT(propertyId != CSSPropertyInvalid); |
| 188 return propertyId; | 189 return propertyId; |
| 189 } | 190 } |
| 190 | 191 |
| 191 } // namespace WebCore | 192 } // namespace WebCore |
| 192 | 193 |
| 193 WTF_ALLOW_MOVE_AND_INIT_WITH_MEM_FUNCTIONS(WebCore::CSSProperty); | 194 WTF_ALLOW_MOVE_AND_INIT_WITH_MEM_FUNCTIONS(WebCore::CSSProperty); |
| 194 | 195 |
| 195 #endif // CSSProperty_h | 196 #endif // CSSProperty_h |
| OLD | NEW |