mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Update WR (box shadows + per-corner radii, elliptical clips).
This commit is contained in:
parent
fe16c1d5c3
commit
aaaf644c91
5 changed files with 12 additions and 15 deletions
|
@ -875,9 +875,7 @@ pub struct BoxShadowDisplayItem {
|
|||
pub spread_radius: Au,
|
||||
|
||||
/// The border radius of this shadow.
|
||||
///
|
||||
/// TODO(pcwalton): Elliptical radii; different radii for each corner.
|
||||
pub border_radius: Au,
|
||||
pub border_radius: BorderRadii<Au>,
|
||||
|
||||
/// How we should clip the result.
|
||||
pub clip_mode: BoxShadowClipMode,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue