Index: Source/core/rendering/RenderObject.h |
diff --git a/Source/core/rendering/RenderObject.h b/Source/core/rendering/RenderObject.h |
index 98c4981f1bc5bb09c56cfe73bb2ca40e1671ba47..ced46c913492875160773fe5321ebbbc9cd4c9a9 100644 |
--- a/Source/core/rendering/RenderObject.h |
+++ b/Source/core/rendering/RenderObject.h |
@@ -301,6 +301,9 @@ private: |
void addAbsoluteRectForLayer(LayoutRect& result); |
bool requiresAnonymousTableWrappers(const RenderObject*) const; |
+ // This renderer has column-span:all, but is it really a valid column spanner? |
+ bool isValidColumnSpanAll() const; |
+ |
// Gets pseudoStyle from Shadow host(in case of input elements) |
// or from Parent element. |
PassRefPtr<RenderStyle> getUncachedPseudoStyleFromParentOrShadowHost() const; |
@@ -635,6 +638,8 @@ public: |
Document& document() const { return m_node->document(); } |
LocalFrame* frame() const { return document().frame(); } |
+ bool isColumnSpanAll() const { return style()->columnSpan() == ColumnSpanAll && isValidColumnSpanAll(); } |
+ |
// Returns the object containing this one. Can be different from parent for positioned elements. |
// If paintInvalidationContainer and paintInvalidationContainerSkipped are not null, on return *paintInvalidationContainerSkipped |
// is true if the renderer returned is an ancestor of paintInvalidationContainer. |