This may be too early, but I think we should add a pseudo-class for position:sticky's that are stuck to an edge. This lets you easily style the stuck element (e.g. with a box-shadow). On Tue, Jul 23, 2013 at 6:19 PM, Corey Ford <cford@mozilla.com> wrote: > On 7/12/13 9:37 AM, Corey Ford wrote: > >> For any of 'top', 'bottom', 'left', and 'right' that are not 'auto', if >> the box's normal position would cause that edge of its margin box to be >> less than the specified distance within that padding edge of its scrolling >> container, the box is repositioned to that distance from the edge >> > > Percentage values of these properties reference the padding box of the >> scrolling container. >> > > The content box of the scrolling container would also be reasonable at > these points in the calculations. (I'm not entirely sure what I see WebKit > doing, but it doesn't seem to be either.) > > Corey > > >Received on Wednesday, 28 August 2013 00:35:15 UTC
This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:31 UTC