summaryrefslogtreecommitdiff
path: root/chromium/third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp')
-rw-r--r--chromium/third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/chromium/third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp b/chromium/third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp
index 406d71f0bde..d77b0bdff5c 100644
--- a/chromium/third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp
+++ b/chromium/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'.