未验证 提交 f5c697ed 编写于 作者: O openharmony_ci 提交者: Gitee

!8498 modify Flex_AlignContent_SpaceBetween_FlexMarPad

Merge pull request !8498 from zhangshuqi/master
......@@ -72,7 +72,7 @@ export default function flex_AlignContent_SpaceBetween_FlexMarPadTest() {
expect(Math.round(thirdText.bottom - thirdText.top)).assertEqual(vp2px(150));
expect(Math.round(fourthText.bottom - fourthText.top)).assertEqual(vp2px(200)); //四个子组件的高度分别为50、100、150、200
expect(Math.round(flexContainer.top - columnContainer.left)).assertEqual(vp2px(20)); //margin =20
expect(Math.round(flexContainer.top - columnContainer.top)).assertEqual(vp2px(20)); //margin =20
expect(Math.round(firstText.top - flexContainer.top)).assertEqual(vp2px(50));
expect(Math.round(firstText.left - flexContainer.left)).assertEqual(vp2px(50)); //padding =50
expect(firstText.left).assertEqual(secondText.left);
......@@ -116,7 +116,7 @@ export default function flex_AlignContent_SpaceBetween_FlexMarPadTest() {
expect(Math.round(firstText.top - flexContainer.top)).assertEqual(vp2px(10));
expect(Math.round(firstText.left - flexContainer.left)).assertEqual(vp2px(10)); //padding =10
expect(Math.round(flexContainer.top - columnContainer.left)).assertEqual(vp2px(30)); //margin =30
expect(Math.round(flexContainer.top - columnContainer.top)).assertEqual(vp2px(30)); //margin =30
expect(firstText.left).assertEqual(secondText.left);
expect(secondText.left).assertEqual(thirdText.left);
expect(thirdText.left).assertEqual(fourthText.left);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册