| 3068 | items[items.size() - 1]->removeFromParent(utils.getViewTransactionScope()); |
| 3069 | items.pop_back(); |
| 3070 | |
| 3071 | root->performLayout(utils.getViewTransactionScope(), Size(100, 100), LayoutDirectionLTR); |
| 3072 | root->updateVisibilityAndPerformUpdates(utils.getViewTransactionScope()); |
| 3073 | |
| 3074 | ASSERT_EQ(50, scrollContainer->getChildrenSpaceWidth()); |
| 3075 | ASSERT_EQ(200, scrollContainer->getChildrenSpaceHeight()); |
| 3076 | |
| 3077 | // contentOffset should not have changed |
| 3078 | ASSERT_EQ(Point(0, 100), scrollContainer->getDirectionAgnosticScrollContentOffset()); |