-
Notifications
You must be signed in to change notification settings - Fork 756
Description
I think it's really weird that perspective the transform function gets interpolated differently than perspective the property.
https://drafts.csswg.org/css-transforms-2/#propdef-perspective says:
Animatable: as length
However for the transform function it says:
The transform functions matrix(), matrix3d() and perspective() get converted into 4x4 matrices first and interpolated as defined in section Interpolation of Matrices afterwards.
I just fixed the perspective() function interpolation in Gecko in https://bugzilla.mozilla.org/show_bug.cgi?id=1488414. I haven't tested what other browsers do for the perspective property yet, but I wanted to leave this filed because it seems that if this inconsistency is intended, it should be at least be clarified and explicitly pointed out.