Skip to content

Commit d178810

Browse files
committed
fix: convert default border image formatting errors
1 parent dad5311 commit d178810

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎src/properties/border_image.rs‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,8 @@ impl<'i> BorderImage<'i> {
301301

302302
// A shorthand with only initial components must still have a value.
303303
if !has_source && !has_slice && !has_width && !has_outset && !has_repeat {
304-
return dest.write_str("none");
304+
dest.write_str("none")?;
305+
return Ok(());
305306
}
306307

307308
if has_source {

0 commit comments

Comments
 (0)