New issue
Advanced search Search tips

Issue 901509 link

Starred by 3 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Bad serialization of 'scale' property computed value

Project Member Reported by tabatkins@google.com, Nov 2

Issue description

Chrome Version: 70.0.3538.77 (Official Build) (64-bit)
OS: Linux

What steps will reproduce the problem?
(1) Visit <http://software.hixie.ch/utilities/js/live-dom-viewer/saved/6346> and check the "Log" section

What is the expected result?
* The first two entries should say "2", because it's a 2d scale, and "2" is the shortest serialization that produces the same result. "Shortest serialization with same behavior" is a general rule for serializing CSS properties.
* The third entry should say "2 2 1", because it's a 3d scale, and you need all three entries to indicate that. Even tho it looks the same as the 2d scale, it activates our 3d machinery and thus is observably different.


What happens instead?
All three entries say "2 2", which is overly verbose for a 2d scale and *underly* verbose for a 3d scale.

 
The need for 2D serialization also applies to translate and rotate.

Note that when animating between 2D values we want a 2D result. When an animation involves a 3D value, we want a 3D result.

Status: Available (was: Untriaged)

Sign in to add a comment