Skip to content

fix: Remove outdated anchor() & anchor-size() function patch#334

Open
skyclouds2001 wants to merge 1 commit intocsstree:masterfrom
skyclouds2001:anchor
Open

fix: Remove outdated anchor() & anchor-size() function patch#334
skyclouds2001 wants to merge 1 commit intocsstree:masterfrom
skyclouds2001:anchor

Conversation

@skyclouds2001
Copy link
Contributor

@skyclouds2001 skyclouds2001 commented Apr 5, 2025

the spec has renamed <anchor-element> to <anchor-name>, and the syntax in csstree is outdated; the syntax in mdn-data is the latest which match the spec

see:

https://developer.mozilla.org/en-US/docs/Web/CSS/anchor
https://developer.mozilla.org/en-US/docs/Web/CSS/anchor-size
https://drafts.csswg.org/css-anchor-position-1/#funcdef-anchor
https://drafts.csswg.org/css-anchor-position-1/#funcdef-anchor-size

@skyclouds2001 skyclouds2001 marked this pull request as ready for review April 5, 2025 17:30
@skyclouds2001 skyclouds2001 changed the title fix: Remove outdated anchor() & anchor-size() descriptor patch fix: Remove outdated anchor() & anchor-size() function patch Apr 5, 2025
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.

1 participant