Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[pointer-animations-1] Prefixpointer() definition types#12283

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
tidoust wants to merge1 commit intow3c:main
base:main
Choose a base branch
Loading
fromtidoust:pointer-animations-1-types

Conversation

tidoust
Copy link
Member

Type definitions share a common namespace and the<axis> type is already defined in Scroll-driven Animations:
https://drafts.csswg.org/scroll-animations-1/#typedef-axis

This update prefixes the<axis> type (and<source> for consistency) withpointer- to disambiguate. Feel free to adjust the name as you see fit!

Note: As in Scroll-driven Animations, the spec defines the types with anoexport attribute. That seems fine to avoid accidental references from other modules. If that is also meant to create a module-specific namespace for type definitions, we may have a problem as editing tools and validators that I'm aware of and that leverage CSS syntax definitions do not expect that to be possible ;)

Type definitions share a common namespace and the `<axis>` type is alreadydefined in Scroll-driven Animations:https://drafts.csswg.org/scroll-animations-1/#typedef-axisThis update prefixes the `<axis>`, and `<source>` for consistency, typeswith `pointer-` to disambiguate.
Copy link
Contributor

@ydanivydaniv left a comment

Choose a reason for hiding this comment

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

Thanks@tidoust! If I recall correctly I meant to reuseaxis from Scroll-driven Animations, but I'm ok with merging this as is for now, it's still an early ED.
Thesource is probably better off prefixed.

@tidoust
Copy link
MemberAuthor

If I recall correctly I meant to reuse axis from Scroll-driven Animations

Up to you :) Thenoexport attribute of the<axis> definition would just need to be dropped in Scroll-driven Animations.

ydaniv reacted with thumbs up emoji

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@ydanivydanivydaniv approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@tidoust@ydaniv

[8]ページ先頭

©2009-2025 Movatter.jp