Index: Source/core/rendering/style/GridTrackSize.h |
diff --git a/Source/core/rendering/style/GridTrackSize.h b/Source/core/rendering/style/GridTrackSize.h |
index 55f0ca3ee596f0b678a9ee63d4bf1ae2dec522d5..a75820e7360106b5caf94d717994589be706321e 100644 |
--- a/Source/core/rendering/style/GridTrackSize.h |
+++ b/Source/core/rendering/style/GridTrackSize.h |
@@ -94,6 +94,8 @@ public: |
GridTrackSizeType type() const { return m_type; } |
+ bool isContentSized() const { return m_minTrackBreadth.isContentSized() || m_maxTrackBreadth.isContentSized(); } |
+ |
bool operator==(const GridTrackSize& other) const |
{ |
return m_type == other.m_type && m_minTrackBreadth == other.m_minTrackBreadth && m_maxTrackBreadth == other.m_maxTrackBreadth; |