Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(75)

Side by Side Diff: third_party/WebKit/Source/core/dom/Element.h

Issue 2766163002: Pass nextTextSibling to ::before layout rebuild. (Closed)
Patch Set: Documentation fix. Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 828 matching lines...) Expand 10 before | Expand all | Expand 10 after
839 void inlineStyleChanged(); 839 void inlineStyleChanged();
840 void setInlineStyleFromString(const AtomicString&); 840 void setInlineStyleFromString(const AtomicString&);
841 841
842 // If the only inherited changes in the parent element are independent, 842 // If the only inherited changes in the parent element are independent,
843 // these changes can be directly propagated to this element (the child). 843 // these changes can be directly propagated to this element (the child).
844 // If these conditions are met, propagates the changes to the current style 844 // If these conditions are met, propagates the changes to the current style
845 // and returns the new style. Otherwise, returns null. 845 // and returns the new style. Otherwise, returns null.
846 PassRefPtr<ComputedStyle> propagateInheritedProperties(StyleRecalcChange); 846 PassRefPtr<ComputedStyle> propagateInheritedProperties(StyleRecalcChange);
847 847
848 StyleRecalcChange recalcOwnStyle(StyleRecalcChange); 848 StyleRecalcChange recalcOwnStyle(StyleRecalcChange);
849 void reattachPseudoElementLayoutTree(PseudoId); 849 void rebuildPseudoElementLayoutTree(PseudoId,
850 void rebuildShadowRootLayoutTree(); 850 Text* nextTextSibling = nullptr);
851 void rebuildShadowRootLayoutTree(Text*& nextTextSibling);
851 inline void checkForEmptyStyleChange(); 852 inline void checkForEmptyStyleChange();
852 853
853 void updatePseudoElement(PseudoId, StyleRecalcChange); 854 void updatePseudoElement(PseudoId, StyleRecalcChange);
854 bool updateFirstLetter(Element*); 855 bool updateFirstLetter(Element*);
855 856
856 inline void createPseudoElementIfNeeded(PseudoId); 857 inline void createPseudoElementIfNeeded(PseudoId);
857 858
858 ShadowRoot* shadowRoot() const; 859 ShadowRoot* shadowRoot() const;
859 860
860 // FIXME: Everyone should allow author shadows. 861 // FIXME: Everyone should allow author shadows.
(...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after
1196 #define DECLARE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ 1197 #define DECLARE_ELEMENT_FACTORY_WITH_TAGNAME(T) \
1197 static T* create(const QualifiedName&, Document&) 1198 static T* create(const QualifiedName&, Document&)
1198 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ 1199 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \
1199 T* T::create(const QualifiedName& tagName, Document& document) { \ 1200 T* T::create(const QualifiedName& tagName, Document& document) { \
1200 return new T(tagName, document); \ 1201 return new T(tagName, document); \
1201 } 1202 }
1202 1203
1203 } // namespace blink 1204 } // namespace blink
1204 1205
1205 #endif // Element_h 1206 #endif // Element_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/ContainerNode.cpp ('k') | third_party/WebKit/Source/core/dom/Element.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698