WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
266314
offsetLeft - Abs-positioned objects should move with inline rel-positioned containers when the latter change width
https://bugs.webkit.org/show_bug.cgi?id=266314
Summary
offsetLeft - Abs-positioned objects should move with inline rel-positioned co...
Ahmad Saleem
Reported
2023-12-12 17:14:17 PST
Hi Team, While going through Blink's commit, I came across another failing test case: Test Case:
https://jsfiddle.net/3oeLbauz/1/show
^ Fails in STP184 / WebKit ToT. Passes above in Chrome Canary 122 and Firefox Nightly 122. Blink Commit:
https://src.chromium.org/viewvc/blink?view=revision&revision=179335
Merging above 1-1 still does not fix the bug. Just wanted to raise so we can fix it. Thanks!
Attachments
testcase
(83.68 KB, text/html)
2023-12-14 18:22 PST
,
Karl Dubost
no flags
Details
rendering in safari, firefox, chrome
(82.05 KB, image/png)
2023-12-14 18:23 PST
,
Karl Dubost
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Karl Dubost
Comment 1
2023-12-14 18:20:49 PST
OM JSFIDDLE The difference is happening with the value of offsetLeft the test is checking: expectedOffset: 118 var totalLeft = node.clientLeft + node.offsetLeft; Safari node.clientLeft: 4 node.offsetLeft: 54 Firefox node.clientLeft: 4 node.offsetLeft: 114 but the test is probably subtle because if I try to isolate it in its own file. I see different results in between Firefox and Nightly. Let's upload the testcase
Karl Dubost
Comment 2
2023-12-14 18:22:08 PST
Created
attachment 469052
[details]
testcase Safari clientLeft: 4 offsetLeft: 54 Firefox clientLeft: 4 offsetLeft: 124 Chrome clientLeft: 4 offsetLeft: 114
Karl Dubost
Comment 3
2023-12-14 18:23:31 PST
Created
attachment 469053
[details]
rendering in safari, firefox, chrome
Karl Dubost
Comment 4
2023-12-14 18:25:41 PST
Some previous issues about offsetLeft
https://bugs.webkit.org/buglist.cgi?bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&list_id=9926633&query_format=advanced&short_desc=offsetLeft&short_desc_type=allwordssubstr
Radar WebKit Bug Importer
Comment 5
2023-12-14 18:28:31 PST
<
rdar://problem/119698824
>
Ahmad Saleem
Comment 6
2024-05-24 04:47:10 PDT
Chromium Commit -
https://github.com/chromium/chromium/commit/420ee472456a2ed228065420e91252059a6d36de
Since SVN repo is gone.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug