mirror of
https://github.com/servo/servo.git
synced 2025-08-09 07:25:35 +01:00
Apply border-radius when painting borders
This commit is contained in:
parent
7281336116
commit
962c85b553
3 changed files with 27 additions and 6 deletions
|
@ -75,7 +75,7 @@
|
|||
"BorderCornerRadius",
|
||||
"computed::BorderCornerRadius::zero()",
|
||||
"parse",
|
||||
engines="gecko servo-2013",
|
||||
engines="gecko servo-2013 servo-2020",
|
||||
extra_prefixes=prefixes,
|
||||
spec=maybe_logical_spec(corner, "radius"),
|
||||
boxed=True,
|
||||
|
|
|
@ -239,7 +239,7 @@ pub fn parse_border<'i, 't>(
|
|||
|
||||
<%helpers:shorthand
|
||||
name="border-radius"
|
||||
engines="gecko servo-2013"
|
||||
engines="gecko servo-2013 servo-2020"
|
||||
sub_properties="${' '.join(
|
||||
'border-%s-radius' % (corner)
|
||||
for corner in ['top-left', 'top-right', 'bottom-right', 'bottom-left']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue