Re: [csswg-drafts] [css-anchor-1] Need ability to say "don't render" when anchor is off-screen (#7758)

> An anchored element with anchors-valid is visible if it has at least one valid anchor function [1]. Does this understanding align with yours?

In [the proposal](https://github.com/w3c/csswg-drafts/issues/7758#issuecomment-1965540529), we're saying it should hide if *any* of its anchors are invalid/invisible (and the anchor function doesn't have a fallback).

> Should we use the conditions of scroll adjustment as the preconditions of anchors-valid and anchors-visible?

I'm not sure what this means. Could you elaborate?

> Should anchors-visible just check the visibility of the default anchor (which is our current basic implementation)?

Hm, that's a good question. Since we only adjust for the scroll position of the default anchor, that might make sense. @fantasai, thoughts?

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


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

Received on Thursday, 4 April 2024 19:30:48 UTC