mirror of
https://github.com/servo/servo.git
synced 2025-06-21 23:59:00 +01:00
stylo: Bug 1390039 - Implement compute_distance for mismatched transform lists. Implement ComputeSquaredDistance for mismatched transform lists. In order to do this, we have to convert a transform list into a 3d matrix, so I move the code from layout module into style module for reusing it. --- - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix [Bug 1390039](https://bugzilla.mozilla.org/show_bug.cgi?id=1390039). - [X] These changes do not require tests because this is a Gecko feature and I add many tests in Gecko already. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/18234) <!-- Reviewable:end --> |
||
---|---|---|
.. | ||
align.rs | ||
angle.rs | ||
background.rs | ||
basic_shape.rs | ||
border.rs | ||
color.rs | ||
effects.rs | ||
flex.rs | ||
gecko.rs | ||
image.rs | ||
length.rs | ||
mod.rs | ||
percentage.rs | ||
position.rs | ||
rect.rs | ||
svg.rs | ||
text.rs | ||
time.rs | ||
transform.rs |