Re: [csswg-drafts] [mediaqueries] Add inactive window MQ (#5040)

> Visibility seems a lot trickier.

The media query should match the [Page Visibility API]( “The Document is at least partially visible on at least one screen.”

That spec doesn't go into details like preview thumbnails. IMO, they should count as “visible” if they are being live updated, but I think they are often static screenshots of the last rendered version, in which case a current visibility state isn't really relevant.

The primary use case for having this in CSS is for delaying animations/transitions until the page is actually being drawn.

GitHub Notification of comment by AmeliaBR
Please view or discuss this issue at using your GitHub account

Received on Monday, 11 May 2020 23:23:33 UTC