Skip to content

Commit 0190fff

Browse files
committed
1 parent 71cce91 commit 0190fff

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

style/values/specified/text.rs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,14 @@ impl ToCss for TextOverflow {
274274
ToResolvedValue,
275275
ToShmem,
276276
)]
277-
#[css(bitflags(single = "none,spelling-error,grammar-error", mixed = "underline,overline,line-through,blink"))]
277+
#[cfg_attr(feature = "gecko", css(bitflags(
278+
single = "none,spelling-error,grammar-error",
279+
mixed = "underline,overline,line-through,blink",
280+
)))]
281+
#[cfg_attr(not(feature = "gecko"), css(bitflags(
282+
single = "none",
283+
mixed = "underline,overline,line-through,blink",
284+
)))]
278285
#[repr(C)]
279286
/// Specified keyword values for the text-decoration-line property.
280287
pub struct TextDecorationLine(u8);

0 commit comments

Comments
 (0)