Re: [csswg-drafts] [css-anchor-1] The `anchor-scroll` property name is confusing/overloaded (#8675)

> The authoring advice will probably end up just being "use anchor-default and don't specify the anchor manually in the function, unless you're doing something special".

But that means scrolling will break for sure when "doing something special", including all use cases that involve multiple anchor elements, which is still an important use case we want to support.

And it doesn't need to be too maginal. For example, find the lexicographically first property with an `anchor()` or `anchor-size()`, and then use the anchor element in the first anchor function there.

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


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

Received on Wednesday, 21 June 2023 23:11:10 UTC