Created attachment 412633 [details] testcase with and without caption When you use position:sticky; top:0; on a table element, you expect this element to stick to the top of the overflowing frame. This usually works, unless you also have a <caption> element on your table. The caption elements have rather unique box model behavior, which introduces an offset that the sticky headers accidentally use as well. I'm not entirely sure if this is per the current specification or not. I do know that it doesn't match my expectations, and it doesn't match the behavior of Chrome and Firefox. I have included a reproduction of this problem showing behavior with and without caption element in a table.
<rdar://problem/70813326>
Thanks for filing, this reproduces for me on Safari 13.1.3 as well as STP 115 with the included test case.
This should be fixed now. *** This bug has been marked as a duplicate of bug 224415 ***
@Martin Robinson Are we sure ? I see several other sticky bugs are indeed fixed in my TP, but this specific one still seems to reproduce. At least with: Release 130 (Safari 15.0, WebKit 16612.1.26.1.5)
ah the latest TP is from august 18th I see.....