servo/components/style/properties
Emilio Cobos Álvarez 6dcf9b7630
style: Use decomposition to interpolate matched perspective transform operations.
Looks like this produces sensible results for interpolation with 0, though I'm
not really convinced about the results from, let's say, 1px to 2000px in the
attached test-case, I would've expected a linear interpolation from that to go
through normal length interpolation.

css-transforms-1 says:

  > Two transform functions with the same name and the same number of arguments
  > are interpolated numerically without a former conversion. The calculated
  > value will be of the same transform function type with the same number of
  > arguments.
  >
  > Special rules apply to <matrix()>.

Which is what we do... I was going to file a spec issue but turns out that it's
already addressed in css-transforms-2:

  https://drafts.csswg.org/css-transforms-2/#interpolation-of-transform-functions

Which says:

  > The transform functions <matrix()>, matrix3d() and perspective() get
  > converted into 4x4 matrices first and interpolated as defined in section
  > Interpolation of Matrices afterwards.

Differential Revision: https://phabricator.services.mozilla.com/D4942
2018-09-05 19:11:26 +02:00
..
helpers style: Use decomposition to interpolate matched perspective transform operations. 2018-09-05 19:11:26 +02:00
longhands style: Fix servo build. 2018-09-03 12:56:30 +02:00
shorthands style: Swap order of values in 'overflow' shorthand property. 2018-08-18 17:48:02 +02:00
build.py style: autopep8 2018-07-24 03:26:12 +02:00
computed_value_flags.rs style: Remove IS_STYLE_IF_VISITED. 2018-07-24 03:29:03 +02:00
data.py style: Implement flow-relative values for resize property. 2018-08-18 17:47:51 +02:00
declaration_block.rs style: Hook the use counters into StyleSheet parsing. 2018-09-03 12:31:33 +02:00
gecko.mako.rs style: Define path() for clip-path. 2018-09-03 12:32:50 +02:00
helpers.mako.rs style: Rename offset-* logical properties to inset-*. 2018-07-01 00:08:09 +02:00
Mako-0.9.1.zip
properties.html.mako
properties.mako.rs style: Add a test for the use counters. 2018-09-03 12:31:41 +02:00