Bug 263988

Summary: Fix incorrect event.offsetX in vertical-rl multi-column
Product: WebKit Reporter: Ahmad Saleem <ahmad.saleem792>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: bfulgham, karlcow, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   

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>