Bug 155496 - Position sticky does not work within table cells
Summary: Position sticky does not work within table cells
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: Safari 9
Hardware: Unspecified OS X 10.11
: P2 Normal
Assignee: Martin Robinson
URL:
Keywords: InRadar
: 188992 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-03-15 11:02 PDT by Francesco
Modified: 2021-09-09 01:17 PDT (History)
13 users (show)

See Also:


Attachments
Test case (514 bytes, text/html)
2016-03-15 11:02 PDT, Francesco
no flags Details
Patch (7.38 KB, patch)
2021-08-23 08:47 PDT, Martin Robinson
no flags Details | Formatted Diff | Diff
Patch (7.34 KB, patch)
2021-08-25 03:28 PDT, Martin Robinson
no flags Details | Formatted Diff | Diff
Patch (6.97 KB, patch)
2021-09-08 04:53 PDT, Martin Robinson
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Francesco 2016-03-15 11:02:44 PDT
Created attachment 274104 [details]
Test case

If you open the attached test case and scroll down, the black box should stick to the top left, and this is how it works in Firefox. In Safari, however, it does not stick.

There is also a Stackoverflow post on this, http://stackoverflow.com/questions/28172079/safari-position-sticky-in-table-cell
Comment 1 Martin Robinson 2021-08-19 08:27:25 PDT
This seems to be an issue with the selection of the containing block for calculating sticky constraints.
Comment 2 Martin Robinson 2021-08-23 08:31:12 PDT
*** Bug 188992 has been marked as a duplicate of this bug. ***
Comment 3 Martin Robinson 2021-08-23 08:47:54 PDT
Created attachment 436198 [details]
Patch
Comment 4 EWS Watchlist 2021-08-23 08:49:07 PDT
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 5 Martin Robinson 2021-08-25 03:28:41 PDT
Created attachment 436382 [details]
Patch
Comment 6 Martin Robinson 2021-09-08 04:53:33 PDT
Created attachment 437618 [details]
Patch
Comment 7 EWS 2021-09-09 01:16:31 PDT
Committed r282201 (241488@main): <https://commits.webkit.org/241488@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 437618 [details].
Comment 8 Radar WebKit Bug Importer 2021-09-09 01:17:18 PDT
<rdar://problem/82914248>