As Darin Adler remarked in bug 120173, comment 2, we should come up with a better way to integrate the iOS-specific CheckForVisibilityChangeOnRecalcStyle RAII class in Style::resolveTree() or at least explain its platform-specific nature.