使用的 Kraken 版本 | What version of kraken are you using
main
重现代码 | Code example:
it('text wrap bug', async () => {
let div;
div = createElement('div', {
style: {
display: 'flex',
flexDirection: 'column',
}
}, [
(div3 = createElement('div', {
style: {
display: 'flex',
flexDirection: 'column',
alignItems: 'flex-start',
flexShrink: 0,
height: '100px'
},
},
[
createElement('span', {
style: {
lineHeight: '18px',
}
}, [
createText('just two lines just two lines just two lines just two lines just two lines just two lines just two lines just two lines just two lines just two lines just two lines just two lines just two lines just two lines just two lines just two lines')
])
]
))
]);
BODY.appendChild(div);
await snapshot();
});
使用的 Kraken 版本 | What version of kraken are you using
main
重现代码 | Code example:
预期结果 | Expected results:
实际结果 | Actual results: