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