[csswg-drafts] Pull Request: [pointer-animations-1] Prefix `pointer()` definition types

tidoust has just submitted a new pull request for https://github.com/w3c/csswg-drafts:

== [pointer-animations-1] Prefix `pointer()` definition types ==
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) with `pointer-` to disambiguate. Feel free to adjust the name as you see fit!

Note: As in Scroll-driven Animations, the spec defines the types with a `noexport` 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 ;)

See https://github.com/w3c/csswg-drafts/pull/12283


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 5 June 2025 08:31:38 UTC