mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Move transform related properties from effects to box.
This commit is contained in:
parent
ed7945e747
commit
2e9d4df223
5 changed files with 129 additions and 124 deletions
|
@ -1822,7 +1822,7 @@ impl FragmentDisplayListBuilding for Fragment {
|
|||
Some(ref operations) => operations,
|
||||
};
|
||||
|
||||
let transform_origin = &self.style.get_effects().transform_origin;
|
||||
let transform_origin = &self.style.get_box().transform_origin;
|
||||
let transform_origin_x = model::specified(transform_origin.horizontal,
|
||||
stacking_relative_border_box.size
|
||||
.width).to_f32_px();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue