| 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 * Copyright (C) 2004-2007, 2009, 2014 Apple Inc. All rights reserved. | 4 * Copyright (C) 2004-2007, 2009, 2014 Apple Inc. All rights reserved. |
| 5 * | 5 * |
| 6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
| 7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
| 8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
| 10 * | 10 * |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 AllowPercentage = AllowPercentageValues); | 132 AllowPercentage = AllowPercentageValues); |
| 133 void addHTMLColorToStyle(MutableStylePropertySet*, | 133 void addHTMLColorToStyle(MutableStylePropertySet*, |
| 134 CSSPropertyID, | 134 CSSPropertyID, |
| 135 const String& color); | 135 const String& color); |
| 136 | 136 |
| 137 void applyAlignmentAttributeToStyle(const AtomicString&, | 137 void applyAlignmentAttributeToStyle(const AtomicString&, |
| 138 MutableStylePropertySet*); | 138 MutableStylePropertySet*); |
| 139 void applyBorderAttributeToStyle(const AtomicString&, | 139 void applyBorderAttributeToStyle(const AtomicString&, |
| 140 MutableStylePropertySet*); | 140 MutableStylePropertySet*); |
| 141 | 141 |
| 142 void attributeChanged(const QualifiedName&, | 142 void attributeChanged(const AttributeModificationParams&) override; |
| 143 const AtomicString&, | 143 void parseAttribute(const AttributeModificationParams&) override; |
| 144 const AtomicString&, | |
| 145 AttributeModificationReason) override; | |
| 146 void parseAttribute(const QualifiedName&, | |
| 147 const AtomicString&, | |
| 148 const AtomicString&) override; | |
| 149 static bool parseColorWithLegacyRules(const String& attributeValue, | 144 static bool parseColorWithLegacyRules(const String& attributeValue, |
| 150 Color& parsedColor); | 145 Color& parsedColor); |
| 151 bool isPresentationAttribute(const QualifiedName&) const override; | 146 bool isPresentationAttribute(const QualifiedName&) const override; |
| 152 void collectStyleForPresentationAttribute(const QualifiedName&, | 147 void collectStyleForPresentationAttribute(const QualifiedName&, |
| 153 const AtomicString&, | 148 const AtomicString&, |
| 154 MutableStylePropertySet*) override; | 149 MutableStylePropertySet*) override; |
| 155 unsigned parseBorderWidthAttribute(const AtomicString&) const; | 150 unsigned parseBorderWidthAttribute(const AtomicString&) const; |
| 156 | 151 |
| 157 void childrenChanged(const ChildrenChange&) override; | 152 void childrenChanged(const ChildrenChange&) override; |
| 158 void calculateAndAdjustDirectionality(); | 153 void calculateAndAdjustDirectionality(); |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 240 inline bool isElementOfType<const thisType>(const HTMLElement& element) { \ | 235 inline bool isElementOfType<const thisType>(const HTMLElement& element) { \ |
| 241 return is##thisType(element); \ | 236 return is##thisType(element); \ |
| 242 } \ | 237 } \ |
| 243 DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType) | 238 DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType) |
| 244 | 239 |
| 245 } // namespace blink | 240 } // namespace blink |
| 246 | 241 |
| 247 #include "core/HTMLElementTypeHelpers.h" | 242 #include "core/HTMLElementTypeHelpers.h" |
| 248 | 243 |
| 249 #endif // HTMLElement_h | 244 #endif // HTMLElement_h |
| OLD | NEW |