| 3068 | |
| 3069 | container->setPrefersLazyLayout(utils.getViewTransactionScope(), false); |
| 3070 | |
| 3071 | root->performLayout(utils.getViewTransactionScope(), Size(100, 100), LayoutDirectionLTR); |
| 3072 | root->updateVisibilityAndPerformUpdates(utils.getViewTransactionScope()); |
| 3073 | |
| 3074 | ASSERT_EQ(Frame(0, 0, 100, 100), container->getCalculatedFrame()); |
| 3075 | ASSERT_EQ(Frame(10, 10, 80, 80), child->getCalculatedFrame()); |
| 3076 | } |
| 3077 | |
| 3078 | TEST(ViewNode, canResolveDirectionUnawareCoordinatesInRTL) { |