请考虑以下代码片段:
.parent {
display: flex;
flex-direction: column;
width: 400px;
border: 1px solid red;
align-items: center;
}
.child {
border: 1px solid blue;
}
<div class="parent">
<div class="child">
Lorem Ipsum is simply dummy text of the printing and typesetting industry
</div>
<div class="child">
Lorem Ipsum is simply dummy text of the printing and typesetting industry
</div>
</div>
在Chrome中,文本按预期换行:
但是,在IE11,the text is not wrapping:
这是IE中的已知错误吗?(如有,敬请指点)
是否有已知的解决方法?
This similar question没有明确的答案和官方的指标.