| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2001 Peter Kelly (pmk@post.com) | 4 * (C) 2001 Peter Kelly (pmk@post.com) |
| 5 * (C) 2001 Dirk Mueller (mueller@kde.org) | 5 * (C) 2001 Dirk Mueller (mueller@kde.org) |
| 6 * Copyright (C) 2003-2011, 2013, 2014 Apple Inc. All rights reserved. | 6 * Copyright (C) 2003-2011, 2013, 2014 Apple 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 Library General Public | 9 * modify it under the terms of the GNU Library General Public |
| 10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 162 void setBooleanAttribute(const QualifiedName& name, bool); | 162 void setBooleanAttribute(const QualifiedName& name, bool); |
| 163 | 163 |
| 164 void invalidateStyleAttribute(); | 164 void invalidateStyleAttribute(); |
| 165 | 165 |
| 166 bool affectedByAttributeSelector(const AtomicString& attributeName) const; | 166 bool affectedByAttributeSelector(const AtomicString& attributeName) const; |
| 167 bool affectedByClassSelector(const AtomicString& classValue) const; | 167 bool affectedByClassSelector(const AtomicString& classValue) const; |
| 168 bool affectedByIdSelector(const AtomicString& idValue) const; | 168 bool affectedByIdSelector(const AtomicString& idValue) const; |
| 169 | 169 |
| 170 const StylePropertySet* inlineStyle() const { return elementData() ? element
Data()->m_inlineStyle.get() : 0; } | 170 const StylePropertySet* inlineStyle() const { return elementData() ? element
Data()->m_inlineStyle.get() : 0; } |
| 171 | 171 |
| 172 bool setInlineStyleProperty(CSSPropertyID, CSSValueID identifier, bool impor
tant = false); | 172 bool setInlineStyleProperty(CSSPropertyID, CSSValueID identifier); |
| 173 bool setInlineStyleProperty(CSSPropertyID, double value, CSSPrimitiveValue::
UnitType, bool important = false); | 173 bool setInlineStyleProperty(CSSPropertyID, double value, CSSPrimitiveValue::
UnitType); |
| 174 bool setInlineStyleProperty(CSSPropertyID, const String& value, bool importa
nt = false); | 174 bool setInlineStyleProperty(CSSPropertyID, const String& value); |
| 175 bool removeInlineStyleProperty(CSSPropertyID); | 175 bool removeInlineStyleProperty(CSSPropertyID); |
| 176 void removeAllInlineStyleProperties(); | 176 void removeAllInlineStyleProperties(); |
| 177 | 177 |
| 178 void synchronizeStyleAttributeInternal() const; | 178 void synchronizeStyleAttributeInternal() const; |
| 179 | 179 |
| 180 enum AttributeModificationReason { | 180 enum AttributeModificationReason { |
| 181 ModifiedDirectly, | 181 ModifiedDirectly, |
| 182 ModifiedByCloning | 182 ModifiedByCloning |
| 183 }; | 183 }; |
| 184 | 184 |
| (...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 591 static PassRefPtr<T> create(const QualifiedName&, Document&) | 591 static PassRefPtr<T> create(const QualifiedName&, Document&) |
| 592 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ | 592 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ |
| 593 PassRefPtr<T> T::create(const QualifiedName& tagName, Document& document) \ | 593 PassRefPtr<T> T::create(const QualifiedName& tagName, Document& document) \ |
| 594 { \ | 594 { \ |
| 595 return adoptRef(new T(tagName, document)); \ | 595 return adoptRef(new T(tagName, document)); \ |
| 596 } | 596 } |
| 597 | 597 |
| 598 } // namespace | 598 } // namespace |
| 599 | 599 |
| 600 #endif // SKY_ENGINE_CORE_DOM_ELEMENT_H_ | 600 #endif // SKY_ENGINE_CORE_DOM_ELEMENT_H_ |
| OLD | NEW |