Skip to content

[scroll-animations-1] Use of DOMString in API surface #5213

@plinss

Description

@plinss

Small point that came up in the TAG Review, the ScrollTimeline interface is currently using DOMString to represent keyword and length/percentage values. This should use the appropriate CSS Typed OM classes instead.

Using strings for CSS values is a historical artifact we're trying to eliminate, new APIs shouldn't use them.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions