Re: specifying position:sticky

On Jul 13, 2013, at 2:56 PM, Simon Fraser <smfr@me.com> wrote:

> We deliberately avoided this behavior for sticky, because you get into having to decide when things overlap, which, if they have different X offsets, is not clear. We didn¡¯t want to have to code up something as complex as float avoidance behavior.

You can't just do something simple, like looking at the bounding boxes of both, and see if any edges align or overlap, and if they do, then adjust the relative position of document-order-preceding sticky item, letting that other sticky item overlap anything other than sticky items that precede it??

Received on Saturday, 13 July 2013 23:03:24 UTC