mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Auto merge of #16782 - chenpighead:stylo-serialization-of-image-orientation, r=nox
Fix the serialization of image-orientation property Gecko bug: [Bug 1363295](https://bugzilla.mozilla.org/show_bug.cgi?id=1363295) <!-- 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/16782) <!-- Reviewable:end -->
This commit is contained in:
commit
a05427fcd0
1 changed files with 2 additions and 2 deletions
|
@ -87,13 +87,13 @@ ${helpers.single_keyword("image-rendering",
|
||||||
if let Some(angle) = self.angle {
|
if let Some(angle) = self.angle {
|
||||||
try!(angle.to_css(dest));
|
try!(angle.to_css(dest));
|
||||||
if self.flipped {
|
if self.flipped {
|
||||||
dest.write_str(" flipped")
|
dest.write_str(" flip")
|
||||||
} else {
|
} else {
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if self.flipped {
|
if self.flipped {
|
||||||
dest.write_str("flipped")
|
dest.write_str("flip")
|
||||||
} else {
|
} else {
|
||||||
dest.write_str("from-image")
|
dest.write_str("from-image")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue