W3C home > Mailing lists > Public > www-style@w3.org > May 2012

Re: [CSSOM-view] Support centering an element when scrolling into view.

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Mon, 28 May 2012 07:56:47 -0700
Message-ID: <CAAWBYDAFcns_QxK2GKYt3o=Hdd38S=2MXx+SEb+i9CczBznR6Q@mail.gmail.com>
To: robert@ocallahan.org
Cc: Thaddee Tyl <thaddee.tyl@gmail.com>, www-style@w3.org
On Mon, May 28, 2012 at 4:05 AM, Robert O'Callahan <robert@ocallahan.org> wrote:
> On Sat, May 26, 2012 at 5:12 PM, Thaddee Tyl <thaddee.tyl@gmail.com> wrote:
>> >> Also, don't forget to specify exactly what the area that is scrolled
>> >> into
>> >> view is. Currently CSSOM View refers to "the border box of the
>> >> element",
>> >> which is of course ill-defined since there can be zero or more
>> >> border-boxes
>> >> for the element.
>>
>> Should I redefine "the border box of the element"? I am afraid that would
>> be
>> hard to do.
>
> "The border-box of the element" is simply meaningless. You can't use that
> phrase in a spec.

Well, you can in some circumstances.  ^_^

What you need to, Thaddee, is figure out what browsers do when, for
example, an inline is broken around a large float, or a block is
broken across multicol columns.  The usual answers are that they
either care about (1) the (border) box of the first fragment, or (2)
the bounding box containing all the fragments.

~TJ
Received on Monday, 28 May 2012 14:57:45 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:54 GMT