Bug 276275 - Make offsetTop/Left handle a relative positioned inline offsetParent correctly
Summary: Make offsetTop/Left handle a relative positioned inline offsetParent correctly
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: zalan
URL:
Keywords: BrowserCompat, InRadar
Depends on:
Blocks:
 
Reported: 2024-07-05 17:48 PDT by Ahmad Saleem
Modified: 2024-07-08 12:35 PDT (History)
12 users (show)

See Also:


Attachments
rendering in safari, firefox, chrome (2.17 MB, image/png)
2024-07-07 23:53 PDT, Karl Dubost
no flags Details
[fast-cq]Patch (6.52 KB, patch)
2024-07-08 09:57 PDT, zalan
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ahmad Saleem 2024-07-05 17:48:21 PDT
Hi Team,

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

Test Case: https://jsfiddle.net/8s7y4fgk/

^ Fails in WebKit ToT, while passes in Chrome Canary 129 and Firefox Nightly 128.

Blink Commit: https://chromium.googlesource.com/chromium/src.git/+/f903f01899c880f15af678b6e44404a7d9b1735f

WebKit Source: https://searchfox.org/wubkat/rev/09f843b2c1b425e64eb641addb798b08c62f1239/Source/WebCore/rendering/RenderBoxModelObject.cpp#457

Just raising so we can fix it.

Thanks!
Comment 1 Karl Dubost 2024-07-07 23:53:54 PDT
Created attachment 471836 [details]
rendering in safari, firefox, chrome

tested in 
Safari Technology Preview  198           20619.1.20.7
Firefox Nightly            129.0a1       12924.7.4
Google Chrome Canary       128.0.6582.0  6582.0
Comment 2 zalan 2024-07-08 09:57:43 PDT
Created attachment 471845 [details]
[fast-cq]Patch
Comment 3 EWS 2024-07-08 12:34:28 PDT
Committed 280748@main (8a698682da3e): <https://commits.webkit.org/280748@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 471845 [details].
Comment 4 Radar WebKit Bug Importer 2024-07-08 12:35:16 PDT
<rdar://problem/131324238>