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

Use legacy name alias concept #121

Open
miketaylr opened this issue Mar 12, 2020 · 1 comment
Open

Use legacy name alias concept #121

miketaylr opened this issue Mar 12, 2020 · 1 comment
Assignees

Comments

@miketaylr
Copy link
Member

https://drafts.csswg.org/css-cascade-4/#legacy-name-alias

When the old property’s syntax is identical to or a subset of the value space of the new property’s syntax, the two names are aliased with an operation on par with case-mapping: at parse time, the old property is converted into the new property. This conversion also applies in the CSSOM, both for string arguments and property accessors: requests for the old property name transparently transfer to the new property name instead.

Perhaps we can use this instead of the concept of simple property alias.

(cf @zcorpan's suggestion in w3c/csswg-drafts#4839)

@miketaylr
Copy link
Member Author

Helpful pointer from @gsnedders, #154 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants
@miketaylr and others