Hi Team, Based on discussions with Alan (@zalan), I will try to do "Blink Patch Merge" to see it fixes the testcase attached with the patch and it is not failing: Blink Commit - https://chromium.googlesource.com/chromium/src.git/+/93aa8f022e5f79698d5e6ecd48f29eec8289f067 The test case is failing in Safari 16 and STP 154 as well. Link - https://jsfiddle.net/4ekf10wd/ (Show red) Thanks!
I tried this in: https://github.com/WebKit/WebKit/pull/4769 but it seems that it is not simple Blink Commit merge since "containingBlock" is different in Webkit vs Blink. But since the testcase is still failing in Webkit, I would leave it open for others to follow-up. Thanks!
Created attachment 462759 [details] Patch
<rdar://problem/100779471>
Created attachment 463392 [details] Patch
Created attachment 463405 [details] Patch
Committed 256321@main (80d9d55a51b6): <https://commits.webkit.org/256321@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 463405 [details].