Bug 155496

Summary: Position sticky does not work within table cells
Product: WebKit Reporter: Francesco <vertova>
Component: CSSAssignee: Martin Robinson <mrobinson>
Status: RESOLVED FIXED    
Severity: Normal CC: changseok, clopez, esprehn+autocc, ews-watchlist, glenn, kondapallykalyan, mrobinson, pdr, shawn, simon.fraser, vertova, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: Safari 9   
Hardware: Unspecified   
OS: OS X 10.11   
See Also: https://github.com/w3c/csswg-drafts/issues/5020
https://github.com/web-platform-tests/wpt/pull/30170
Attachments:
Description Flags
Test case
none
Patch
none
Patch
none
Patch none

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>