mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
style: Simplify border-radius serialization.
Differential Revision: https://phabricator.services.mozilla.com/D20958
This commit is contained in:
parent
e96a5ae37e
commit
ebeb7b228f
1 changed files with 1 additions and 5 deletions
|
@ -145,11 +145,7 @@ where
|
|||
W: Write,
|
||||
{
|
||||
widths.to_css(dest)?;
|
||||
if widths.0 != heights.0 ||
|
||||
widths.1 != heights.1 ||
|
||||
widths.2 != heights.2 ||
|
||||
widths.3 != heights.3
|
||||
{
|
||||
if widths != heights {
|
||||
dest.write_str(" / ")?;
|
||||
heights.to_css(dest)?;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue