Bug 247869 - Incorrect Static Position of Absolute Positioned Elements inside Rel-Positioned Containers
Summary: Incorrect Static Position of Absolute Positioned Elements inside Rel-Position...
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: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-11-13 17:09 PST by Ahmad Saleem
Modified: 2022-11-15 23:31 PST (History)
4 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 2022-11-13 17:09:46 PST
Hi Team,

While going through Blink Commits, I came across two related commits to each other:

Blink Commit (1) - https://src.chromium.org/viewvc/blink?view=revision&revision=180488

Blink Commit (2) - https://chromium.googlesource.com/chromium/src.git/+/116b2f293d0c16017e63e45cc9a97ee5bfa9b161

We fail the test from Commit (1) - Test Failing - https://jsfiddle.net/bfnhpy0c/ and I think fixing it would be good for overall. We have code here:

https://github.com/WebKit/WebKit/blob/27705761a29a1f7a1625264d72425f9dffe49f58/Source/WebCore/rendering/RenderInline.cpp#L888

NOTE - We already have this Blink Commit (2) partially applied, we just need to update comments and get rid of the L892-894 as it was done in Blink Commit (1).

Since we are failing test cases, I will do PR to see if we have any regression or progress and will update, if I am not able to land it or not. So someone else can do it.

Thanks!
Comment 1 EWS 2022-11-15 23:30:38 PST
Committed 256722@main (106eb5245b22): <https://commits.webkit.org/256722@main>

Reviewed commits have been landed. Closing PR #6451 and removing active labels.
Comment 2 Radar WebKit Bug Importer 2022-11-15 23:31:19 PST
<rdar://problem/102405478>