mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
style: Serialize text-decoration using Servo
The code introduced in the preceding patch deals with currentColor correctly, so we should be able to do this now. This uncovers a bug in the existing serialization code when a non-auto text-decoration-thickness was used, caught by css/css-text-decor/parsing/text-decoration-computed.html. Differential Revision: https://phabricator.services.mozilla.com/D130018
This commit is contained in:
parent
b3e40479f8
commit
b1ef020aa2
1 changed files with 1 additions and 0 deletions
|
@ -94,6 +94,7 @@
|
||||||
dest.write_str(" ")?;
|
dest.write_str(" ")?;
|
||||||
}
|
}
|
||||||
self.text_decoration_thickness.to_css(dest)?;
|
self.text_decoration_thickness.to_css(dest)?;
|
||||||
|
has_value = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if !is_solid_style {
|
if !is_solid_style {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue