Bug 253147 - offsetParent fails to consider continuations when searching for parent
Summary: offsetParent fails to consider continuations when searching for parent
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL: https://jsfiddle.net/y5wvm8tb/show
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-03-01 04:01 PST by Ahmad Saleem
Modified: 2023-08-21 15:33 PDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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