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 645 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
656 | 656 |
657 bool isElementNode() const = delete; // This will catch anyone doing an unne
cessary check. | 657 bool isElementNode() const = delete; // This will catch anyone doing an unne
cessary check. |
658 bool isDocumentFragment() const = delete; // This will catch anyone doing an
unnecessary check. | 658 bool isDocumentFragment() const = delete; // This will catch anyone doing an
unnecessary check. |
659 bool isDocumentNode() const = delete; // This will catch anyone doing an unn
ecessary check. | 659 bool isDocumentNode() const = delete; // This will catch anyone doing an unn
ecessary check. |
660 | 660 |
661 void styleAttributeChanged(const AtomicString& newStyleString, AttributeModi
ficationReason); | 661 void styleAttributeChanged(const AtomicString& newStyleString, AttributeModi
ficationReason); |
662 | 662 |
663 void updatePresentationAttributeStyle(); | 663 void updatePresentationAttributeStyle(); |
664 | 664 |
665 void inlineStyleChanged(); | 665 void inlineStyleChanged(); |
666 PropertySetCSSStyleDeclaration* inlineStyleCSSOMWrapper(); | |
667 void setInlineStyleFromString(const AtomicString&); | 666 void setInlineStyleFromString(const AtomicString&); |
668 | 667 |
669 // If the only inherited changes in the parent element are independent, | 668 // If the only inherited changes in the parent element are independent, |
670 // these changes can be directly propagated to this element (the child). | 669 // these changes can be directly propagated to this element (the child). |
671 // If these conditions are met, propagates the changes to the current style | 670 // If these conditions are met, propagates the changes to the current style |
672 // and returns the new style. Otherwise, returns null. | 671 // and returns the new style. Otherwise, returns null. |
673 PassRefPtr<ComputedStyle> propagateInheritedProperties(StyleRecalcChange); | 672 PassRefPtr<ComputedStyle> propagateInheritedProperties(StyleRecalcChange); |
674 | 673 |
675 StyleRecalcChange recalcOwnStyle(StyleRecalcChange); | 674 StyleRecalcChange recalcOwnStyle(StyleRecalcChange); |
676 // TODO(nainar): Make this const ComputedStyle&. | 675 // TODO(nainar): Make this const ComputedStyle&. |
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
990 static T* create(const QualifiedName&, Document&) | 989 static T* create(const QualifiedName&, Document&) |
991 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ | 990 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ |
992 T* T::create(const QualifiedName& tagName, Document& document) \ | 991 T* T::create(const QualifiedName& tagName, Document& document) \ |
993 { \ | 992 { \ |
994 return new T(tagName, document); \ | 993 return new T(tagName, document); \ |
995 } | 994 } |
996 | 995 |
997 } // namespace blink | 996 } // namespace blink |
998 | 997 |
999 #endif // Element_h | 998 #endif // Element_h |
OLD | NEW |