mirror of
https://github.com/servo/servo.git
synced 2025-08-09 23:45:35 +01:00
Propagate text decoration where needed
This commit is contained in:
parent
83fc9943d3
commit
17948f3b39
9 changed files with 75 additions and 40 deletions
|
@ -244,6 +244,12 @@ bitflags! {
|
|||
}
|
||||
}
|
||||
|
||||
impl Default for TextDecorationLine {
|
||||
fn default() -> Self {
|
||||
TextDecorationLine::NONE
|
||||
}
|
||||
}
|
||||
|
||||
impl Parse for TextDecorationLine {
|
||||
/// none | [ underline || overline || line-through || blink ]
|
||||
fn parse<'i, 't>(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue