gecko-dev/servo
Emilio Cobos Álvarez 4924555d6d Bug 1746084 - Avoid generating InterpolateMatrix operations if there are no size dependencies. r=hiro
The issue here is that we end up with a transition between mismatched
transform lists that ends up generating an InterpolateMatrix {}
operation. So far so good, but we end up interpolating that a lot of
times and generating an unboundedly-deep operation list.

This implementas an optimization that flattens them to a single matrix
when possible (when there's no dependencies on the containing box).

This is similar to:

  2b89cc4df4

We fix the to_pixel_length() behavior for LenghtPercentage to be
correct (and update callers to preserve behavior).

Differential Revision: https://phabricator.services.mozilla.com/D134784
2022-01-05 19:10:28 +00:00
..
components Bug 1746084 - Avoid generating InterpolateMatrix operations if there are no size dependencies. r=hiro 2022-01-05 19:10:28 +00:00
ports/geckolib Bug 1747595 - Make color-adjust an alias of print-color-adjust as per spec. r=jwatt 2021-12-29 21:52:25 +00:00
tests/unit Bug 1728617 - Tweak at-rule parsing APIs to support cascade layers. r=boris 2021-09-03 09:26:10 +00:00
moz.build
rustfmt.toml