- From: Corey Ford <cford@mozilla.com>
- Date: Wed, 28 Aug 2013 07:55:36 -0700
- To: "Tab Atkins Jr." <jackalmage@gmail.com>
- CC: Ojan Vafai <ojan@chromium.org>, "www-style@w3.org" <www-style@w3.org>, "L. David Baron" <dbaron@dbaron.org>
On 2013-08-27 18:27, Tab Atkins Jr. wrote:
> Immediately bringing up the obvious question of what ":stuck {
> position: static; }" does.
Considering sticky positioning's dependence on various layout boxes, I
see some more subtle circularity problems too. (Especially if we
consider "reached the end of its containing block" to be not "stuck").
:stuck {
top: auto; /* no longer top-sticky */
margin-bottom: 9999px; /* margin box has to stay within the
containing block */
height: 9999px; /* ditto */
}
!div > :stuck {
height: 1px; /* containing block again */
}
Corey
Received on Wednesday, 28 August 2013 14:56:05 UTC