W3C home > Mailing lists > Public > www-style@w3.org > July 2013

Re: specifying position:sticky

From: Corey Ford <cford@mozilla.com>
Date: Tue, 23 Jul 2013 18:19:57 -0700
Message-ID: <51EF2BBD.6040600@mozilla.com>
To: "www-style@w3.org" <www-style@w3.org>
CC: "L. David Baron" <dbaron@dbaron.org>
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, 24 July 2013 01:20:24 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 24 July 2013 01:20:25 UTC