- From: Zack Weinberg <zackw@panix.com>
- Date: Fri, 14 Mar 2014 12:26:06 -0400
- To: www-style list <www-style@w3.org>
I just noticed that position:sticky is currently defined to make the box stick to the viewport along *both* axes. For a use case I personally care about (http://hacks.owlfolio.org/header-survey/ - currently faking position:sticky with JS) only *vertical* stickiness is desired. The table header should scroll horizontally with the rest of the table. I think it would be consistent with other similar things (overflow, background-repeat) to allow "position: sticky-x" or similar. I don't care how it is spelled. Probably logical as well as physical axes should be allowed. Relatedly, please please make sure that sticky DOES work on <thead> and <tr> - both that the box sticks, and that the table continues to be laid out as if the box had not been removed from normal flow. Last I checked, the Webkit implementation ignored position:sticky on <thead>. (At that time there was no Gecko implementation, so I don't know what it does.) zw
Received on Friday, 14 March 2014 16:26:28 UTC