Index: Source/core/rendering/RenderGrid.cpp |
diff --git a/Source/core/rendering/RenderGrid.cpp b/Source/core/rendering/RenderGrid.cpp |
index 9b4bb0a8b6a2702e64513e27995fc97473319ac8..64252e791b71cce18711b93339b4091fd27f04a7 100644 |
--- a/Source/core/rendering/RenderGrid.cpp |
+++ b/Source/core/rendering/RenderGrid.cpp |
@@ -1219,7 +1219,7 @@ LayoutUnit RenderGrid::centeredRowPositionForChild(const RenderBox* child) const |
static ItemPosition resolveAlignment(const RenderStyle* parentStyle, const RenderStyle* childStyle) |
{ |
ItemPosition align = childStyle->alignSelf(); |
- // The auto keyword computes to the computed value of align-items on the parent. |
+ // The auto keyword computes to the parent's align-items computed value, or to "stretch", if not set or "auto". |
if (align == ItemPositionAuto) |
align = (parentStyle->alignItems() == ItemPositionAuto) ? ItemPositionStretch : parentStyle->alignItems(); |
return align; |