mirror of
https://github.com/servo/servo.git
synced 2025-08-08 15:05:35 +01:00
Auto merge of #18956 - glennw:update-wr-ellipse-bs, r=jdm
Update WR (box shadows + per-corner radii, elliptical clips). <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/18956) <!-- Reviewable:end -->
This commit is contained in:
commit
d6042707a6
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