mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Fix the two-value form of text-overflow to work in stylo
This commit is contained in:
parent
7f6b28e241
commit
a03c0233c6
1 changed files with 1 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue