I tried to address that in the comments above the method:
"If the node contains fluid content, clearing floats may widen and shorten the contents of the node. In this case, it is preferred to use the original, taller height."