mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Auto merge of #19766 - jonleighton:issue-19765, r=emilio
Move image-orientation property outside of mako Fixes https://github.com/servo/servo/issues/19765 r? emilio <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19766) <!-- Reviewable:end -->
This commit is contained in:
commit
ec34023d7a
6 changed files with 228 additions and 189 deletions
|
@ -4609,7 +4609,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