Created attachment 463413 [details] Testcase If a replaced element (e.g. SVG) has an intrinsic size in only one dimension, an intrinsic ratio, and min/max constraints in the other dimension, those constraints must be met using the intrinsic ratio. Attached 2 examples.
Created attachment 463414 [details] Testcase 2
<rdar://problem/101979495>
Pull request: https://github.com/WebKit/WebKit/pull/6155
Pull request: https://github.com/WebKit/WebKit/pull/6159
Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/36830
Committed 257434@main (036e53a548a5): <https://commits.webkit.org/257434@main> Reviewed commits have been landed. Closing PR #6159 and removing active labels.