This records changes in such a way that if any of the changes cannot take
effect, then all the changes are "rolled back". It is called pseudo-atomic
because it is not really meant to track any changes that do not happen
through instances of this class. This is needed because we are changing the
size of multiple elements, and beyond a certain "smallness", some elements
won't register any change in dimensions (perhaps due to "min-..." styles.
This records changes in such a way that if any of the changes cannot take effect, then all the changes are "rolled back". It is called pseudo-atomic because it is not really meant to track any changes that do not happen through instances of this class. This is needed because we are changing the size of multiple elements, and beyond a certain "smallness", some elements won't register any change in dimensions (perhaps due to "min-..." styles.