mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Move image-orientation property outside of mako
Fixes https://github.com/servo/servo/issues/19765
This commit is contained in:
parent
7b92eb932b
commit
bd55639d01
6 changed files with 228 additions and 189 deletions
|
@ -4611,7 +4611,8 @@ fn static_assert() {
|
|||
|
||||
pub fn clone_image_orientation(&self) -> longhands::image_orientation::computed_value::T {
|
||||
use gecko_bindings::structs::nsStyleImageOrientation_Angles;
|
||||
use properties::longhands::image_orientation::computed_value::{Orientation, T};
|
||||
use properties::longhands::image_orientation::computed_value::T;
|
||||
use values::computed::Orientation;
|
||||
|
||||
let gecko_orientation = self.gecko.mImageOrientation.mOrientation;
|
||||
if gecko_orientation & structs::nsStyleImageOrientation_Bits_FROM_IMAGE_MASK as u8 != 0 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue