Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add anchor-scope support #217

Merged
merged 4 commits into from
Jul 23, 2024
Merged

Add anchor-scope support #217

merged 4 commits into from
Jul 23, 2024

Conversation

mmalerba
Copy link
Contributor

@mmalerba mmalerba commented Jul 20, 2024

No description provided.

Copy link

netlify bot commented Jul 20, 2024

Deploy Preview for anchor-polyfill ready!

Name Link
🔨 Latest commit d5097db
🔍 Latest deploy log https://app.netlify.com/sites/anchor-polyfill/deploys/669fca711a899d000883755d
😎 Deploy Preview https://deploy-preview-217--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.

Copy link

netlify bot commented Jul 20, 2024

Deploy Preview for anchor-position-wpt canceled.

Name Link
🔨 Latest commit d5097db
🔍 Latest deploy log https://app.netlify.com/sites/anchor-position-wpt/deploys/669fca717833d500096f2fe1

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.

@mmalerba This is great -- thanks! 🚀 A few tasks before it's ready to merge:

  • There are some tests in validate.test.ts that are using the outdated call signature for validatedForPositioning and isAcceptableAnchorElement.
  • We merged in Pseudo-element anchors #213 this morning, and there are a few merge conflicts -- could you rebase off of main?

src/parse.ts Outdated Show resolved Hide resolved
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.

👍

I think you could remove anchor-scope from the "Limitations" list in the README, or add a clarification that it's not supported for pseudo-elements.

src/parse.ts Outdated Show resolved Hide resolved
src/validate.ts Show resolved Hide resolved
@jgerigmeyer jgerigmeyer linked an issue Jul 23, 2024 that may be closed by this pull request
@jgerigmeyer jgerigmeyer merged commit f655cda into oddbird:main Jul 23, 2024
10 checks passed
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.

Scoping anchor names: anchor-scope
2 participants