| 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 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 276 | 276 |
| 277 void setBooleanAttribute(const QualifiedName&, bool); | 277 void setBooleanAttribute(const QualifiedName&, bool); |
| 278 | 278 |
| 279 virtual const StylePropertySet* additionalPresentationAttributeStyle() { ret
urn nullptr; } | 279 virtual const StylePropertySet* additionalPresentationAttributeStyle() { ret
urn nullptr; } |
| 280 void invalidateStyleAttribute(); | 280 void invalidateStyleAttribute(); |
| 281 | 281 |
| 282 const StylePropertySet* inlineStyle() const { return elementData() ? element
Data()->m_inlineStyle.get() : nullptr; } | 282 const StylePropertySet* inlineStyle() const { return elementData() ? element
Data()->m_inlineStyle.get() : nullptr; } |
| 283 | 283 |
| 284 void setInlineStyleProperty(CSSPropertyID, CSSValueID identifier, bool impor
tant = false); | 284 void setInlineStyleProperty(CSSPropertyID, CSSValueID identifier, bool impor
tant = false); |
| 285 void setInlineStyleProperty(CSSPropertyID, double value, CSSPrimitiveValue::
UnitType, bool important = false); | 285 void setInlineStyleProperty(CSSPropertyID, double value, CSSPrimitiveValue::
UnitType, bool important = false); |
| 286 void setInlineStyleProperty(CSSPropertyID, CSSValue*, bool important = false
); | 286 void setInlineStyleProperty(CSSPropertyID, const CSSValue*, bool important =
false); |
| 287 bool setInlineStyleProperty(CSSPropertyID, const String& value, bool importa
nt = false); | 287 bool setInlineStyleProperty(CSSPropertyID, const String& value, bool importa
nt = false); |
| 288 | 288 |
| 289 bool removeInlineStyleProperty(CSSPropertyID); | 289 bool removeInlineStyleProperty(CSSPropertyID); |
| 290 void removeAllInlineStyleProperties(); | 290 void removeAllInlineStyleProperties(); |
| 291 | 291 |
| 292 void synchronizeStyleAttributeInternal() const; | 292 void synchronizeStyleAttributeInternal() const; |
| 293 | 293 |
| 294 const StylePropertySet* presentationAttributeStyle(); | 294 const StylePropertySet* presentationAttributeStyle(); |
| 295 virtual bool isPresentationAttribute(const QualifiedName&) const { return fa
lse; } | 295 virtual bool isPresentationAttribute(const QualifiedName&) const { return fa
lse; } |
| 296 virtual void collectStyleForPresentationAttribute(const QualifiedName&, cons
t AtomicString&, MutableStylePropertySet*) { } | 296 virtual void collectStyleForPresentationAttribute(const QualifiedName&, cons
t AtomicString&, MutableStylePropertySet*) { } |
| (...skipping 671 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 968 static T* create(const QualifiedName&, Document&) | 968 static T* create(const QualifiedName&, Document&) |
| 969 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ | 969 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ |
| 970 T* T::create(const QualifiedName& tagName, Document& document) \ | 970 T* T::create(const QualifiedName& tagName, Document& document) \ |
| 971 { \ | 971 { \ |
| 972 return new T(tagName, document); \ | 972 return new T(tagName, document); \ |
| 973 } | 973 } |
| 974 | 974 |
| 975 } // namespace blink | 975 } // namespace blink |
| 976 | 976 |
| 977 #endif // Element_h | 977 #endif // Element_h |
| OLD | NEW |