Index: third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp |
diff --git a/third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp b/third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp |
index 8fc8befea55ac327cf423f04da6528a498fadb97..da39261c5890420f8e94426a3d8920552b262e91 100644 |
--- a/third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp |
+++ b/third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp |
@@ -296,16 +296,6 @@ void StyleAdjuster::adjustStyleForAlignment(ComputedStyle& style, const Computed |
style.setAlignItemsPosition(ItemPositionStretch); |
} |
- // The 'auto' keyword computes to 'stretch' on absolutely-positioned elements, |
- // and to the computed value of align-items on the parent (minus |
- // any 'legacy' keywords) on all other boxes. |
- if (style.alignSelfPosition() == ItemPositionAuto) { |
- if (absolutePositioned) |
- style.setAlignSelfPosition(ItemPositionStretch); |
- else |
- style.setAlignSelf(parentStyle.alignItems()); |
- } |
- |
// Block Containers: For table cells, the behavior of the 'auto' depends on the computed |
// value of 'vertical-align', otherwise behaves as 'start'. |
// Flex Containers: 'auto' computes to 'flex-start'. |