Re: [csswg-drafts] [css-anchor-position] Absolutely positioned element does not find fixed anchor (#10419)

The [spec](https://drafts.csswg.org/css-position-3/#absolute-position) actually does permit anchoring to fixed-position elements. Although the exact wording is "absolutely positioned", both `position: absolute` and `position: fixed` are considered "absolute positioning".

This behavior works in Chrome, which you can see by replacing the position of the anchored element in the above test case from `absolute` to `fixed`.

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


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

Received on Tuesday, 11 June 2024 03:29:38 UTC