mirror of
https://github.com/servo/servo.git
synced 2025-06-24 09:04:33 +01:00
Fix serialisation of computed circles
This commit is contained in:
parent
a65c874ec8
commit
66aa38e1a1
1 changed files with 1 additions and 0 deletions
|
@ -41,6 +41,7 @@ pub type ShapeRadius = GenericShapeRadius<LengthOrPercentage>;
|
|||
|
||||
impl ToCss for Circle {
|
||||
fn to_css<W>(&self, dest: &mut W) -> fmt::Result where W: fmt::Write {
|
||||
dest.write_str("circle(")?;
|
||||
self.radius.to_css(dest)?;
|
||||
dest.write_str(" at ")?;
|
||||
self.position.to_css(dest)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue