Bug 229442

Summary: sticky thead and th causes incorrect positioning
Product: WebKit Reporter: Shun MIZUKAMI <shun>
Component: ScrollingAssignee: Simon Fraser (smfr) <simon.fraser>
Status: RESOLVED WORKSFORME    
Severity: Normal CC: bfulgham, mrobinson, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: Safari 14   
Hardware: Mac (Apple Silicon)   
OS: macOS 11   
Attachments:
Description Flags
reproduce none

Description Shun MIZUKAMI 2021-08-24 07:41:13 PDT
Created attachment 436286 [details]
reproduce

# Overview

Scrolling the table with sticky th inside sticky thead inside a overflow:auto div, th cell moves opposite to scroll direction, while it is expected to be stopped.

# Steps to reproduce

see attachment

# Actual Results

th cell moves down.

# Expected Results

th cell stops at the top.

---
sorry I'm new to here:)
Comment 1 Simon Fraser (smfr) 2021-08-24 11:35:07 PDT
Thank you for the test case.
Comment 2 Radar WebKit Bug Importer 2021-08-24 11:35:23 PDT
<rdar://problem/82301908>
Comment 3 Martin Robinson 2021-09-23 03:36:47 PDT
Is this still an issue? I'm not seeing it with Safari 15. It's possible this has been fixed by recent position:sticky improvements, so I'll close this. Feel free to comment if this is still a problem though.