这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@jamesnw
Copy link
Contributor

@jamesnw jamesnw commented Apr 7, 2025

Description

Adds inside and outside keywords as possible anchor sides. I did not apply this to inset-* properties, as we don't yet support anchor functions on those properties.

Related Issue(s)

Fixes #184

Steps to test/reproduce

https://deploy-preview-310--anchor-polyfill.netlify.app/#inside-outside

@jamesnw jamesnw requested a review from jgerigmeyer April 7, 2025 14:54
@netlify
Copy link

netlify bot commented Apr 7, 2025

Deploy Preview for anchor-polyfill ready!

Name Link
🔨 Latest commit 7223d27
🔍 Latest deploy log https://app.netlify.com/sites/anchor-polyfill/deploys/67f4192902432e00086731dd
😎 Deploy Preview https://deploy-preview-310--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
Copy link

netlify bot commented Apr 7, 2025

Deploy Preview for anchor-position-wpt canceled.

Name Link
🔨 Latest commit 7223d27
🔍 Latest deploy log https://app.netlify.com/sites/anchor-position-wpt/deploys/67f4192972a52f000861f54a

Copy link
Member

@jgerigmeyer jgerigmeyer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works great! 🎉

I did not apply this to inset-* properties, as we don't yet support anchor functions on those properties.

Makes sense. We should look into adding support for those 😅

@jamesnw jamesnw merged commit 33e9552 into main Apr 7, 2025
14 checks passed
@jamesnw jamesnw deleted the inside-outside branch April 7, 2025 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

inside and outside as anchor-side in an anchor function

3 participants