Fix the two-value form of text-overflow to work in stylo

This commit is contained in:
Boris Zbarsky 2017-05-16 13:04:52 -04:00
parent 7f6b28e241
commit a03c0233c6

View file

@ -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);