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

On Thu, Dec 1, 2016 at 2:28 AM, Alexander Shpack <shadowkin@gmail.com> wrote:
>> Anyway, I don't think your proposal is doable because of infinite loops.
>
> Flexboxes also can lead to infinite loops, but we are seeing it in
> specification. :)

No, they can't. In degenerate cases nested flexboxes can cause a
change to result in an exponential number of layouts, but it's
absolutely not a loop.

This proposal, unfortunately, causes loops in precisely the same way
that :hover can cause loops, and browsers are loathe to repeat those
issues.

~TJ

Received on Monday, 5 December 2016 23:05:44 UTC