W3C home > Mailing lists > Public > www-style@w3.org > December 2016

Re: [css3-selectors]: Proposal: :in-view() selector for better visibility control

From: Mark Brown <mark@mercurylang.org>
Date: Tue, 6 Dec 2016 11:58:23 +1100
Message-ID: <CAM4AczBhCi=2Og2CmjVOjQZU=0w8xbQNpQR8s+UAN_Kb-cOx_Q@mail.gmail.com>
To: Alexander Shpack <shadowkin@gmail.com>
Cc: www-style <www-style@w3.org>
On Tue, Dec 6, 2016 at 10:57 AM, Alexander Shpack <shadowkin@gmail.com> wrote:
> On Tue, Dec 6, 2016 at 1:04 AM, Tab Atkins Jr. <jackalmage@gmail.com> wrote:
>> This proposal, unfortunately, causes loops in precisely the same way
>> that :hover can cause loops, and browsers are loathe to repeat those
>> issues.
>> ~TJ
> I've suggested the fast solution before.
> Let's describe the definitions:
> 1. Frame - statement when browser has finished scrolling tick or layout
> rearrangement
> 2. In-view Statement - one of the following statements (ordered): all,
> partial, none, not none, not all, not partial
> For each of in-view statements select elements and apply css rules once per
> frame.

Even if this concept of frames were to be accepted, you have only
defined the behaviour of frame N+1 in terms of frame N. The case of
N=1 is still not well-defined. (What should print media do, for

> So, that's all. No loops :)

Unfortunately, your definition for this selector is still circular.

Received on Tuesday, 6 December 2016 00:59:04 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:15:02 UTC