Bug 253147

Summary: offsetParent fails to consider continuations when searching for parent
Product: WebKit Reporter: Ahmad Saleem <ahmad.saleem792>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: bfulgham, mike, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
URL: https://jsfiddle.net/y5wvm8tb/show
See Also: https://bugs.webkit.org/show_bug.cgi?id=258886

Description Ahmad Saleem 2023-03-01 04:01:45 PST
Hi Team,

While going through Blink's commit, I came across another failing test case:

Failing Test Case (same as URL) - https://jsfiddle.net/y5wvm8tb/show

^ Fails in Safari 16.3, STP164 and WebKit ToT while passes in Chrome Canary 113 and Firefox Nightly 112.

Blink Commit - https://chromium.googlesource.com/chromium/src.git/+/8adb99901d515d445cc398bf78e8b1accedc0613

WebKit Source - https://searchfox.org/wubkat/source/Source/WebCore/rendering/RenderObject.cpp#1886

Just wanted to raise to get input whether it is something planned to be fixed with IFC or we should merge this patch. I will be trying to see if it can be merged (at least with my level of skills) in my local build.

Happy for someone else to take it up, if they are happy to fix in IFC.

Thanks!
Comment 1 Radar WebKit Bug Importer 2023-03-08 04:02:14 PST
<rdar://problem/106420242>
Comment 2 Ahmad Saleem 2023-06-30 04:36:37 PDT
I think this WPT test is same: http://wpt.live/css/cssom-view/offsetParent-block-in-inline.html