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> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | bfulgham, changseok, clopez, edwin.hoffland, esprehn+autocc, ews-watchlist, glenn, kondapallykalyan, mrobinson, pdr, simon.fraser, webkit-bug-importer, youennf | ||||||||
Priority: | P2 | Keywords: | InRadar | ||||||||
Version: | Safari 15 | ||||||||||
Hardware: | Mac (Apple Silicon) | ||||||||||
OS: | macOS 11 | ||||||||||
See Also: | https://github.com/web-platform-tests/wpt/pull/31806 | ||||||||||
Attachments: |
|
Description
Shun MIZUKAMI
2021-10-28 03:50:09 PDT
Created attachment 443670 [details]
Testcase
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. 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. Created attachment 445540 [details]
Patch
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 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]. *** Bug 233207 has been marked as a duplicate of this bug. *** This change should be present in STP 139, iOS 15.4 Beta, and macOS 12.3 Beta. |