mirror of
https://github.com/servo/servo.git
synced 2025-08-12 17:05:33 +01:00
Update WR (switch to new text-decorations API in WR).
This only makes use of the "Solid" text decoration type, which matches the existing support. WR now supports dotted, dashed and wavy text decorations, but supporting those will need some extra work in Servo to pass through the correct values.
This commit is contained in:
parent
548d65dc7a
commit
dc82366f72
4 changed files with 18 additions and 8 deletions
|
@ -1146,7 +1146,8 @@ pub struct LineDisplayItem {
|
|||
pub color: ColorF,
|
||||
|
||||
/// The line segment style.
|
||||
pub style: border_style::T
|
||||
#[ignore_heap_size_of = "enum type in webrender"]
|
||||
pub style: webrender_api::LineStyle,
|
||||
}
|
||||
|
||||
/// Paints a box shadow per CSS-BACKGROUNDS.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue