mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
9d6654896f
Due to assertNoImageDistortion using clientWidth and clientHeight, and these properties returning integers, rounding errors occur that exceed the aspect ratio tolerance. Increasing the tolerance could hide actual distortion so correcting the calculation to use floats would be best and could even allow for a lower tolerance. PR Close #49889