aboutsummaryrefslogtreecommitdiffstats
path: root/ports/geckolib/glue.rs
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2017-11-14 15:34:10 -0600
committerGitHub <noreply@github.com>2017-11-14 15:34:10 -0600
commit6f1d9a198fa3f060f3eae28f13ac248b0b1186ce (patch)
tree887db60de69b85bdc42c1b89ec3cf41a1d5eb504 /ports/geckolib/glue.rs
parentd7b4471c8080c0916277b967994bffcade759c3a (diff)
parent6f59a45cdc3e675c2e7b1251906f1e5cb5a3dedf (diff)
downloadservo-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.rs6
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);