|Summary:||sticky th or td in table does not stops at specified top|
|Product:||WebKit||Reporter:||Shun MIZUKAMI <shun>|
|Component:||Scrolling||Assignee:||Martin Robinson <mrobinson>|
|Severity:||Normal||CC:||bfulgham, changseok, clopez, edwin.hoffland, esprehn+autocc, ews-watchlist, glenn, kondapallykalyan, mrobinson, pdr, simon.fraser, webkit-bug-importer, youennf|
|Hardware:||Mac (Apple Silicon)|
Description Shun MIZUKAMI 2021-10-28 03:50:09 PDT
Created attachment 442689 [details] reproduce Reproduce: https://codepen.io/mizukami234/pen/PoKjRyq Actual Results: td cell stops at the top of scroll container Expected Behavior: td cell stops at the position specified by `top` from the top of scroll container
Comment 3 Martin Robinson 2021-11-09 03:15:07 PST
The issue here seems to be that m_frameRect of the table cell is not relative to its container for some reason, but to the table.
Comment 4 Martin Robinson 2021-11-30 08:21:52 PST
The issue here is that RenderTableCells have frame rects that are relative to the RenderTableSection, but their container is the RenderTableRow. I have a fix for this and hope to post it tomorrow.
Comment 6 EWS Watchlist 2021-12-01 01:07:16 PST
This patch modifies the imported WPT tests. Please ensure that any changes on the tests (not coming from a WPT import) are exported to WPT. Please see https://trac.webkit.org/wiki/WPTExportProcess
Comment 7 EWS 2021-12-02 00:18:28 PST
Committed r286417 (244763@main): <https://commits.webkit.org/244763@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 445540 [details].
Comment 8 Martin Robinson 2021-12-22 06:47:11 PST
*** Bug 233207 has been marked as a duplicate of this bug. ***
Comment 9 Brent Fulgham 2022-02-04 10:57:17 PST
This change should be present in STP 139, iOS 15.4 Beta, and macOS 12.3 Beta.