8000 [css-easing] `linear` keyword is described as a function in level 1, inconsistent with level 2 · Issue #10734 · w3c/csswg-drafts · GitHub
[go: up one dir, main page]

Skip to content

[css-easing] linear keyword is described as a function in level 1, inconsistent with level 2 #10734

@svgeesus

Description

@svgeesus

CSS Easing 2 defines 2.2. The linear easing keyword: linear] as a linear easing function with two points, [0,0] and [1.1]. It also fully defines the linear easing function linear(), with syntax, serialization, etc.

CSS Easing 1 briefly defines 2.1. The linear easing function: linear but describes it as a function (despite the lack of ()), and then later on says that it is "simply the linear keyword".

I guess the definition in CSS Easing 1 is an earlier attempt, but now that the definition in CSS Easing 2 is well developed it seems that CSS Easing 1 should be aligned with it. I can see two ways:

  1. Define it as a keyword, which it is, but without reference to an undefined (in that level) linear easing function
  2. Remove the definition, and just let CSS Easing 2 fully define it.

@birtles @grorg

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0