Skip to content

Commit 6bdf687

Browse files
re-enable second value of text-overflow for servo
Signed-off-by: Richard Tjokroutomo <[email protected]>
1 parent cb461f6 commit 6bdf687

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

style/values/specified/text.rs

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -230,18 +230,10 @@ impl Parse for TextOverflow {
230230
let first = <TextOverflowSide as Parse>::parse(context, input)?;
231231
Ok(
232232
if let Ok(second) = input.try_parse(|input| <TextOverflowSide as Parse>::parse(context, input)) {
233-
if cfg!(feature = "servo") {
234-
Self {
235-
first: TextOverflowSide::Clip,
236-
second: first,
237-
sides_are_logical: true,
238-
}
239-
} else {
240-
Self {
241-
first,
242-
second,
243-
sides_are_logical: false,
244-
}
233+
Self {
234+
first,
235+
second,
236+
sides_are_logical: false,
245237
}
246238
} else {
247239
Self {

0 commit comments

Comments
 (0)