Replaced elements are currently computing their aspect ratio fairly deep into the call stack and then propagating the computed double back up. This has been introducing some slight precision issues when working with replaced elements and their aspect ratio. Instead the dimensions associated with the ratio should be stored in their own struct and then propagated back up the computeIntrinsicRatioInformation stack. The caller can then decide how they want to use the ratio (compute into a double or use individual dimensions).
<rdar://problem/102525236>
Pull request: https://github.com/WebKit/WebKit/pull/6645
Committed 257430@main (90b0d80278b2): <https://commits.webkit.org/257430@main> Reviewed commits have been landed. Closing PR #6645 and removing active labels.