mirror of
https://github.com/servo/servo.git
synced 2025-08-12 08:55:32 +01:00
Move perspective and perspective-origin properties from effects to box.
This commit is contained in:
parent
dd2aa4195a
commit
aeb5d34394
6 changed files with 101 additions and 98 deletions
|
@ -1340,7 +1340,7 @@ impl ComputedValues {
|
|||
if box_.transform.0.is_some() {
|
||||
return transform_style::T::flat;
|
||||
}
|
||||
if let Either::First(ref _length) = effects.perspective {
|
||||
if let Either::First(ref _length) = box_.perspective {
|
||||
return transform_style::T::flat;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue