W3C home > Mailing lists > Public > public-css-archive@w3.org > June 2020

[csswg-drafts] [scroll-animations-1] Use of DOMString in API surface (#5213)

From: Peter Linss via GitHub <sysbot+gh@w3.org>
Date: Tue, 16 Jun 2020 00:09:22 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-639271352-1592266161-sysbot+gh@w3.org>
plinss has just created a new issue for https://github.com/w3c/csswg-drafts:

== [scroll-animations-1] Use of DOMString in API surface ==
Small point that came up in the [TAG Review](https://github.com/w3ctag/design-reviews/issues/521), the [ScrollTimeline](https://drafts.csswg.org/scroll-animations-1/#scrolltimeline-interface) interface is currently using DOMString to represent keyword and length/percentage values. This should use the appropriate [CSS Typed OM](https://drafts.css-houdini.org/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.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5213 using your GitHub account
Received on Tuesday, 16 June 2020 00:09:24 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:09 UTC