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

Conversation

@jgerigmeyer
Copy link
Member

@netlify
Copy link

netlify bot commented Feb 9, 2023

Deploy Preview for anchor-polyfill ready!

Name Link
🔨 Latest commit 318822c
🔍 Latest deploy log https://app.netlify.com/sites/anchor-polyfill/deploys/63f67eae58df940008fdefc5
😎 Deploy Preview https://deploy-preview-81--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 settings.

@netlify
Copy link

netlify bot commented Feb 9, 2023

Deploy Preview for anchor-position-wpt canceled.

Name Link
🔨 Latest commit 318822c
🔍 Latest deploy log https://app.netlify.com/sites/anchor-position-wpt/deploys/63f67eae3691200008b83558

@github-actions
Copy link
Contributor

github-actions bot commented Feb 9, 2023

@jgerigmeyer
Copy link
Member Author

@jgerigmeyer
Copy link
Member Author

@sanajaved7 @mirisuzanne I think this is now complete for basic @position-fallback functionality, and ready for code and/or functional review! ✨

Remaining items (include new spec changes) are documented at the bottom of the README, and some have Trello cards as well.

Copy link
Member

@mirisuzanne mirisuzanne left a comment

Choose a reason for hiding this comment

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

as far as I can tell, the functionality looks good to me. If you want code review on my end, it might be helpful to do that with a sync call. It's interesting when I load it in arc (with experimental web platform features), I'm told that I don't need the polyfill - but it sure seems like we support more features than they do at this point. :)

@jgerigmeyer
Copy link
Member Author

It's interesting when I load it in arc (with experimental web platform features), I'm told that I don't need the polyfill - but it sure seems like we support more features than they do at this point.

Interesting! We're testing for support with 'anchorName' in document.documentElement.style, but maybe we want to be more specific?

@mirisuzanne
Copy link
Member

Interesting! We're testing for support with 'anchorName' in document.documentElement.style, but maybe we want to be more specific?

Yeah, but probably not worth the effort for an experimental implementation. We could add that in if some browser actually ships a partial feature?

padding: getMargins(target),
},
);
// If none of the sides overflow, use this `@try` block and stop loop...
Copy link
Contributor

Choose a reason for hiding this comment

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

🎉

Copy link
Contributor

@sanajaved7 sanajaved7 left a comment

Choose a reason for hiding this comment

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

Very nice work on this!! 👏🏼 ✨ 🚀

@jgerigmeyer jgerigmeyer merged commit 5ff9e3d into main Feb 25, 2023
@jgerigmeyer jgerigmeyer deleted the position-fallback branch February 25, 2023 17:19
@jgerigmeyer
Copy link
Member Author

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.

4 participants