Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[css-position] Animatable and Animation type fields are contradictory for position property #6846

Closed
simevidas opened this issue Nov 30, 2021 · 3 comments
Labels
Closed Accepted as Obvious Bugfix Commenter Satisfied Commenter has indicated satisfaction with the resolution / edits. css-position-3 Current Work

Comments

@simevidas
Copy link
Contributor

Link to spec: https://drafts.csswg.org/css-position/#position-property

The definition card for the position property includes these fields:

  • Animatable: no
  • Animation type: discrete

How can that be? Doesn’t discrete mean that it is animatable?

@tabatkins
Copy link
Member

A block shouldn't have both lines; it's a markup mistake.

@fantasai, you added the Animation type: discrete back in 6516a86 - was the switch to "discrete" rather than "none" intentional? I assume 'position' was "none" because it triggers 'display' changes, right?

@Loirooriol
Copy link
Contributor

Apparently, position is discretely animatable in Blink, WebKit and Gecko. And this can blockify display. https://software.hixie.ch/utilities/js/live-dom-viewer/saved/9857

@fantasai fantasai added the css-position-3 Current Work label Jan 26, 2022
@tabatkins
Copy link
Member

tabatkins commented Jan 6, 2023

Since everyone supports discrete animation, I removed the "no" line and left the "discrete" line.

(Assuming commenter satisfied since the bug was fixed in an obvious fashion.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Closed Accepted as Obvious Bugfix Commenter Satisfied Commenter has indicated satisfaction with the resolution / edits. css-position-3 Current Work
Projects
None yet
Development

No branches or pull requests

4 participants