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 537 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
548 | 548 |
549 void inlineStyleChanged(); | 549 void inlineStyleChanged(); |
550 PropertySetCSSStyleDeclaration* inlineStyleCSSOMWrapper(); | 550 PropertySetCSSStyleDeclaration* inlineStyleCSSOMWrapper(); |
551 void setInlineStyleFromString(const AtomicString&); | 551 void setInlineStyleFromString(const AtomicString&); |
552 | 552 |
553 StyleRecalcChange recalcOwnStyle(StyleRecalcChange); | 553 StyleRecalcChange recalcOwnStyle(StyleRecalcChange); |
554 | 554 |
555 inline void checkForEmptyStyleChange(); | 555 inline void checkForEmptyStyleChange(); |
556 | 556 |
557 void updatePseudoElement(PseudoId, StyleRecalcChange); | 557 void updatePseudoElement(PseudoId, StyleRecalcChange); |
558 bool updateFirstLetter(Element*); | |
559 | 558 |
560 inline void createPseudoElementIfNeeded(PseudoId); | 559 inline void createPseudoElementIfNeeded(PseudoId); |
561 | 560 |
562 // FIXME: Everyone should allow author shadows. | 561 // FIXME: Everyone should allow author shadows. |
563 virtual bool areAuthorShadowsAllowed() const { return true; } | 562 virtual bool areAuthorShadowsAllowed() const { return true; } |
564 virtual void didAddUserAgentShadowRoot(ShadowRoot&) { } | 563 virtual void didAddUserAgentShadowRoot(ShadowRoot&) { } |
565 virtual bool alwaysCreateUserAgentShadowRoot() const { return false; } | 564 virtual bool alwaysCreateUserAgentShadowRoot() const { return false; } |
566 | 565 |
567 // FIXME: Remove the need for Attr to call willModifyAttribute/didModifyAttr
ibute. | 566 // FIXME: Remove the need for Attr to call willModifyAttribute/didModifyAttr
ibute. |
568 friend class Attr; | 567 friend class Attr; |
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
854 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) | 853 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) |
855 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ | 854 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ |
856 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document&
document) \ | 855 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document&
document) \ |
857 { \ | 856 { \ |
858 return adoptRefWillBeNoop(new T(tagName, document)); \ | 857 return adoptRefWillBeNoop(new T(tagName, document)); \ |
859 } | 858 } |
860 | 859 |
861 } // namespace | 860 } // namespace |
862 | 861 |
863 #endif // Element_h | 862 #endif // Element_h |
OLD | NEW |