Re: [csswg-drafts] [css-anchor-1] How it should work with `position: fixed`? (#8583)

There's not really anything to mention, is the thing. The spec just cares about containing blocks and their relationships, and fixpos is just as well-defined in this regard as abspos is. (Note that the term "absolutely positioned", used a lot in the spec, refers to both abspos and fixpos elements, if you click thru the link to its definition.)

The big useful thing is that, since fixpos elements are laid out after pretty much the entire rest of the page, the conditions for what is an acceptable anchor are pretty trivially satisfied, so you can anchor it to pretty much anything. (Except another fixpos.)

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


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

Received on Wednesday, 15 March 2023 22:26:48 UTC