Bug 263988 - Fix incorrect event.offsetX in vertical-rl multi-column
Summary: Fix incorrect event.offsetX in vertical-rl multi-column
Status: NEW
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: 2023-10-31 11:41 PDT by Ahmad Saleem
Modified: 2023-11-20 15:22 PST (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-10-31 11:41:36 PDT
Hi Team,

Another failing test case from Blink:

Test Case: https://jsfiddle.net/xpv20q5w/show

1) Click on 'green' rect on top left corner
2) See output, first value should not be 'negative', while it is in Safari Technology Preview 181

^ Blink matched Firefox Nightly.

Blink Commit: https://chromium.googlesource.com/chromium/src/+/1e8cc54d7de92498ac2f78bfccc811789a7a33b3

Just wanted to raise so we can fix it.

Thanks!
Comment 1 Ahmad Saleem 2023-10-31 11:43:48 PDT
Changing this function:

https://searchfox.org/wubkat/source/Source/WebCore/rendering/RenderMultiColumnSet.cpp#924

>> RenderMultiColumnSet::columnTranslationForOffset

Might be possible to merge but didn't explore fully.
Comment 2 Radar WebKit Bug Importer 2023-11-07 10:42:15 PST
<rdar://problem/118067139>