mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Fix serialization order for computed Shadow.
This commit is contained in:
parent
2bd1ff0450
commit
828665a6af
1 changed files with 4 additions and 4 deletions
|
@ -488,14 +488,14 @@ impl ToCss for Shadow {
|
||||||
if self.inset {
|
if self.inset {
|
||||||
dest.write_str("inset ")?;
|
dest.write_str("inset ")?;
|
||||||
}
|
}
|
||||||
self.blur_radius.to_css(dest)?;
|
|
||||||
dest.write_str(" ")?;
|
|
||||||
self.spread_radius.to_css(dest)?;
|
|
||||||
dest.write_str(" ")?;
|
|
||||||
self.offset_x.to_css(dest)?;
|
self.offset_x.to_css(dest)?;
|
||||||
dest.write_str(" ")?;
|
dest.write_str(" ")?;
|
||||||
self.offset_y.to_css(dest)?;
|
self.offset_y.to_css(dest)?;
|
||||||
dest.write_str(" ")?;
|
dest.write_str(" ")?;
|
||||||
|
self.blur_radius.to_css(dest)?;
|
||||||
|
dest.write_str(" ")?;
|
||||||
|
self.spread_radius.to_css(dest)?;
|
||||||
|
dest.write_str(" ")?;
|
||||||
self.color.to_css(dest)?;
|
self.color.to_css(dest)?;
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue