diff options
author | Keith Yeung <kungfukeith11@gmail.com> | 2017-11-13 23:20:59 -0800 |
---|---|---|
committer | Keith Yeung <kungfukeith11@gmail.com> | 2017-11-14 13:13:23 -0800 |
commit | 6f59a45cdc3e675c2e7b1251906f1e5cb5a3dedf (patch) | |
tree | 2737754c02aa39339b3a4e27cf188a63f445354f /ports | |
parent | ccc739d635b8071e0375fbf6c9fb2eb2366882eb (diff) | |
download | servo-6f59a45cdc3e675c2e7b1251906f1e5cb5a3dedf.tar.gz servo-6f59a45cdc3e675c2e7b1251906f1e5cb5a3dedf.zip |
Move text-decoration-line out of mako
Diffstat (limited to 'ports')
-rw-r--r-- | ports/geckolib/glue.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ports/geckolib/glue.rs b/ports/geckolib/glue.rs index 04ff917fa1e..295c4aa7a75 100644 --- a/ports/geckolib/glue.rs +++ b/ports/geckolib/glue.rs @@ -3371,10 +3371,10 @@ pub extern "C" fn Servo_DeclarationBlock_SetTextDecorationColorOverride( declarations: RawServoDeclarationBlockBorrowed, ) { use style::properties::PropertyDeclaration; - use style::properties::longhands::text_decoration_line; + use style::values::specified::text::TextDecorationLine; - let mut decoration = text_decoration_line::computed_value::none; - decoration |= text_decoration_line::SpecifiedValue::COLOR_OVERRIDE; + let mut decoration = TextDecorationLine::none(); + decoration |= TextDecorationLine::COLOR_OVERRIDE; let decl = PropertyDeclaration::TextDecorationLine(decoration); write_locked_arc(declarations, |decls: &mut PropertyDeclarationBlock| { decls.push(decl, Importance::Normal, DeclarationSource::CssOm); |