Re: [css-position] sticky only along one axis

On 3/14/14 12:26 PM, Zack Weinberg wrote:
> 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.)

Gecko's implementation seems to not work on a <tr>. 
https://bugzilla.mozilla.org/show_bug.cgi?id=975644 tracks fixing taht.

The spec draft seems to say this, for what it's worth:

   The effect of ‘position: sticky’ on table elements is the same as for
   ‘position: relative’

which doesn't make sense to me at all....  Did it mean table internal 
elements?  Even then it doesn't make sense, but it _really_ doesn't make 
sense for table elements.

-Boris

Received on Friday, 14 March 2014 17:13:23 UTC