We should probably merge https://chromium.googlesource.com/chromium/blink/+/49b9865e7b388fffc4f4e5591e2cbae459afffd6 If a border-radius exists, repaintAfterLayoutIfNeeded should check if a border-radius for old bounds is the same as a border-radius for new bounds. If the border-radiuses are not the same, delta repaint cannot be used.
Missing change needed in RoundedRect.h: https://github.com/WebKit/WebKit/blob/36b150fc817675a614982ca0b70649a26d7b013f/Source/WebCore/platform/graphics/RoundedRect.h#L122 and RenderObject Change - I couldn't manage to figure but it might be here: https://github.com/WebKit/WebKit/blob/4385a00da760f9db033925547caa238d3a9f0885/Source/WebCore/rendering/RenderElement.cpp#L1183 and it is still missing. Just wanted to update based on my knowledge but I am not so sure on second part. Thanks!
Created attachment 461800 [details] Test case Test case confirms that we have a bug
Pull request: https://github.com/WebKit/WebKit/pull/3624
Committed 254041@main (01b7c37f84bf): <https://commits.webkit.org/254041@main> Reviewed commits have been landed. Closing PR #3624 and removing active labels.
<rdar://problem/99440767>