[csswg-drafts] When using anchor positioning, the final edge alignment needs to be known (#13088)

ExtAnimal has just created a new issue for https://github.com/w3c/csswg-drafts:

== When using anchor positioning, the final edge alignment needs to be known ==
Different styling may be required depending on which side the alignment finally ended up. The shadow which emphasizes the floating nature of the popup appears *above* in this picture with no shadow below to allow it to connect to its target:


<img width="407" height="509" alt="Image" src="https://github.com/user-attachments/assets/d011f46b-a3e9-4946-a130-abe20262c6c0" />


We need pseudo classes on aligned elements which allows the aligned edge to be targeted:

`:aligned(top)`
`:aligned(right)`
`:aligned(bottom)`
`:aligned(left)`

Since these are purely visual, I'm not sure whether logical (writing direction independent) side properties are necessary.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13088 using your GitHub account


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

Received on Tuesday, 11 November 2025 06:35:55 UTC