Some bug investigation (e.g., Bug 104813) indicates that the Layout Tree can be left in a 'dirty' state following a layout operation. It's not clear why this happens.