Re: [csswg-drafts] [scroll-animations-1][css-animations-1] A non-animated "Is in viewport" (#10582)

there's some overlap with anchor [`position-visibility`](https://developer.mozilla.org/en-US/docs/Web/CSS/position-visibility), which allows authors to say if the anchor is outside the scrollport, then hide it. 

maybe, authors can opt into hiding out of viewport pseudos with something similar, like `view-transition-visibility`. UA then checks to see if the starting point for this old pseudo is out of bounds, if so, it's skipped. this then makes the new pseudo an `:only-child`, at which point it can be brought into the page elegantly (instead of something flying in like a bat outta hell). 

-- 
GitHub Notification of comment by argyleink
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10582#issuecomment-2537360630 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 11 December 2024 22:49:35 UTC