Move perspective and perspective-origin properties from effects to box.

This commit is contained in:
Nazım Can Altınova 2016-12-23 17:10:54 +03:00
parent dd2aa4195a
commit aeb5d34394
6 changed files with 101 additions and 98 deletions

View file

@ -2370,7 +2370,7 @@ impl Fragment {
// TODO(mrobinson): Determine if this is necessary, since blocks with
// transformations already create stacking contexts.
if let Either::First(ref _length) = self.style().get_effects().perspective {
if let Either::First(ref _length) = self.style().get_box().perspective {
return true
}