Re: [csswg-drafts] [css-anchor-position] The "acceptable anchor" algo seems broken (#11030)

No, we don't want to distinguish abspos vs fixpos in that way, because a fixpos can *act* like an abspos given certain ancestor styles. What you actually care about is whether the containing block comes from the viewport, or something else, and that's the distinction I'm making in the algo.

That said, let me look at your actual feedback. ^_^

1. Yeah, you're right, the anchor there is *transitively* relying on the ICB, and after the abspos. That'll need fixing.

2. Yeah same deal.

But it's not about flat tree - in both of those cases, the flat tree is identical to the DOM tree, because there's no shadows involved. I'll just need to do some finessing about ancestors in the abspos containing block tree.

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


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

Received on Monday, 14 October 2024 18:52:04 UTC