mirror of
https://github.com/servo/servo
synced 2026-04-28 10:27:40 +02:00
Implement Servo_ParseTransformIntoMatrix.
DOMMatrix needs to convert a specified transform list into a matrix, so we could rewrite to_transform_3d_matrix by generics for both specified and computed transform lists. Besides, we have to update the test case because we use Transform3D<f64> to compute the matrix, instead of Transform3D<f32>, so the result will be the same as that in Gecko. Using 0.3 may cause floating point issue because (0.3f32 as f64) is not equal to 0.3 (i.e. floating point precision issue), so using 0.25 instead.
This commit is contained in:
@@ -1,4 +0,0 @@
|
||||
[transform_skew_a.html]
|
||||
type: reftest
|
||||
expected:
|
||||
if os == "linux": FAIL
|
||||
Reference in New Issue
Block a user