Hi Team, I was going through Chromium / Blink commit history and found this simplification and we are still having old code: Blink Commit - https://src.chromium.org/viewvc/blink?revision=198240&view=revision It does not have any test case but it is just optimizing code via refactoring. Webkit GitHub - https://github.com/WebKit/WebKit/blob/097123389da2454304dbbd9e85129eae13ea307c/Source/WebCore/rendering/RenderReplaced.cpp#L324 This is just a bug to merge the change, which will refactor and optimize this codepath. Thanks!
Committed 256521@main (d30c0aeee94b): <https://commits.webkit.org/256521@main> Reviewed commits have been landed. Closing PR #6318 and removing active labels.
<rdar://problem/102173487>