mirror of
https://github.com/servo/servo.git
synced 2025-08-02 12:10:29 +01:00
Implement moz-transform property
This commit is contained in:
parent
67799f9445
commit
f9225d84aa
7 changed files with 320 additions and 46 deletions
|
@ -2902,6 +2902,10 @@ impl Fragment {
|
|||
transform::ComputedOperation::Matrix(m) => {
|
||||
m.to_gfx_matrix()
|
||||
}
|
||||
transform::ComputedOperation::MatrixWithPercents(_) => {
|
||||
// `-moz-transform` is not implemented in Servo yet.
|
||||
unreachable!()
|
||||
}
|
||||
transform::ComputedOperation::Skew(theta_x, theta_y) => {
|
||||
Matrix4D::create_skew(Radians::new(theta_x.radians()),
|
||||
Radians::new(theta_y.radians()))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue