| Index: third_party/WebKit/Source/core/dom/Element.h
|
| diff --git a/third_party/WebKit/Source/core/dom/Element.h b/third_party/WebKit/Source/core/dom/Element.h
|
| index 21a3f70b0e3cfc4b39c469440a7b8c21d8573c49..98f39cf87a93e37de79834df4e87cfb3b4f5e4fd 100644
|
| --- a/third_party/WebKit/Source/core/dom/Element.h
|
| +++ b/third_party/WebKit/Source/core/dom/Element.h
|
| @@ -418,6 +418,7 @@ class CORE_EXPORT Element : public ContainerNode {
|
| virtual bool layoutObjectIsNeeded(const ComputedStyle&);
|
| void recalcStyle(StyleRecalcChange, Text* nextTextSibling = nullptr);
|
| void rebuildLayoutTree();
|
| + void recalcStyleForReattach();
|
| void pseudoStateChanged(CSSSelector::PseudoType);
|
| void setAnimationStyleChange(bool);
|
| void clearAnimationStyleChange();
|
| @@ -799,6 +800,8 @@ class CORE_EXPORT Element : public ContainerNode {
|
| // TODO(tkent): Rename this to isFocusableStyle.
|
| virtual bool layoutObjectIsFocusable() const;
|
|
|
| + virtual bool childrenCanHaveStyle() const { return true; }
|
| +
|
| // classAttributeChanged() exists to share code between
|
| // parseAttribute (called via setAttribute()) and
|
| // svgAttributeChanged (called when element.className.baseValue is set)
|
| @@ -849,6 +852,9 @@ class CORE_EXPORT Element : public ContainerNode {
|
| StyleRecalcChange recalcOwnStyle(StyleRecalcChange, Text*);
|
| void reattachPseudoElementLayoutTree(PseudoId);
|
| void rebuildShadowRootLayoutTree();
|
| + void recalcOwnStyleForReattach();
|
| + void recalcContainedStyleForReattach();
|
| + void recalcShadowRootStylesForReattach();
|
| inline void checkForEmptyStyleChange();
|
|
|
| void updatePseudoElement(PseudoId, StyleRecalcChange);
|
|
|