diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2017-11-14 15:34:10 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-14 15:34:10 -0600 |
commit | 6f1d9a198fa3f060f3eae28f13ac248b0b1186ce (patch) | |
tree | 887db60de69b85bdc42c1b89ec3cf41a1d5eb504 /ports/geckolib/glue.rs | |
parent | d7b4471c8080c0916277b967994bffcade759c3a (diff) | |
parent | 6f59a45cdc3e675c2e7b1251906f1e5cb5a3dedf (diff) | |
download | servo-6f1d9a198fa3f060f3eae28f13ac248b0b1186ce.tar.gz servo-6f1d9a198fa3f060f3eae28f13ac248b0b1186ce.zip |
Auto merge of #19211 - KiChjang:text-decoration-line, r=emilio
Move text-decoration-line out of mako
Part of #19015.
<!-- 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/19211)
<!-- Reviewable:end -->
Diffstat (limited to 'ports/geckolib/glue.rs')
-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 a8b777d6f86..e0032eea5c9 100644 --- a/ports/geckolib/glue.rs +++ b/ports/geckolib/glue.rs @@ -3373,10 +3373,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); |