- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Fri, 3 Oct 2014 10:08:01 -0400
- To: Simon Pieters <simonp@opera.com>
- Cc: www-style list <www-style@w3.org>
On Fri, Oct 3, 2014 at 8:07 AM, Simon Pieters <simonp@opera.com> wrote: > On Thu, 02 Oct 2014 22:42:41 +0200, Tab Atkins Jr. <jackalmage@gmail.com> > wrote: >>> How do you explain the element case? >> >> >> Same deal, isn't it? The containing block generated by an element is >> based on the element's geometry, not its scrollable area. > > > So for http://software.hixie.ch/utilities/js/live-dom-viewer/saved/3185 the > spec says "the containing block is formed by the padding edge of the > ancestor." and so, in my understanding, the position:absolute element should > stay anchored to the element's padding edge when the element is scrolled, > since the padding edge doesn't move. Is that right? Ah, no, you want, like, the containing block, as projected into the scrollable area's coordinate space. ~TJ
Received on Friday, 3 October 2014 14:08:48 UTC