Margin-bottom for position sticky TH in table ignored
Categories
(Core :: Layout: Tables, enhancement)
Tracking
()
People
(Reporter: ninapapchenya, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36
Steps to reproduce:
Steps to reproduce:
https://jsbin.com/vipuwen/edit?html,css,output
Actual results:
In the above jsbin using Firefox, the sticky TH in the table is hidden when all the table rows are scrolled. Margin-bottom for sticky TH is ignored:
https://i.vgy.me/lGyTQP.png
In the same case using Chrome or Safari, the sticky TH in the table is hidden when there is 300px left to the end of the table. 300px is the margin-bottom value for the sticky TH, it is not ignored:
https://i.vgy.me/il1Emo.png
Expected results:
That the sticky TH (or TD) in table will hide while scrolling, taking into account the margin-bottom, as in Chrome and Safari.
Updated•5 years ago
|
Description
•