oddbird / css-anchor-positioning

Polyfill for CSS Anchor Positioning
https://anchor-polyfill.netlify.app/
BSD 3-Clause "New" or "Revised" License
225 stars 5 forks source link

Support list of anchor names #178

Closed jamesnw closed 1 month ago

jamesnw commented 1 month ago

Description

The spec now supports a list of anchor-name values, for instance anchor-name: --a, --b;.

Related Issue(s)

n/a

Steps to test/reproduce

Check the demo page, apply the polyfill, and see that two targets can use different anchor names to target the same anchor element.

Also fixes WPT test css/css-anchor-position/anchor-name-004.html.

Show me

image
netlify[bot] commented 1 month ago

Deploy Preview for anchor-polyfill ready!

Name Link
Latest commit deda1ab655f505f19d23de8af62d72b0c9c2548c
Latest deploy log https://app.netlify.com/sites/anchor-polyfill/deploys/66462f0ecf870400085d58f9
Deploy Preview https://deploy-preview-178--anchor-polyfill.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] commented 1 month ago

Deploy Preview for anchor-position-wpt canceled.

Name Link
Latest commit deda1ab655f505f19d23de8af62d72b0c9c2548c
Latest deploy log https://app.netlify.com/sites/anchor-position-wpt/deploys/66462f0eeba11700080554e2