aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--components/style/properties/gecko.mako.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/components/style/properties/gecko.mako.rs b/components/style/properties/gecko.mako.rs
index 146c8827b9d..e8e54f115d2 100644
--- a/components/style/properties/gecko.mako.rs
+++ b/components/style/properties/gecko.mako.rs
@@ -3626,9 +3626,7 @@ fn static_assert() {
}
self.clear_overflow_sides_if_string();
- if v.second.is_none() {
- self.gecko.mTextOverflow.mLogicalDirections = true;
- }
+ self.gecko.mTextOverflow.mLogicalDirections = v.second.is_none();
let SpecifiedValue { ref first, ref second } = v;
let second = second.as_ref().unwrap_or(&first);