From a304b5bfaca85ceee6ac34579ba5209be33b1035 Mon Sep 17 00:00:00 2001 From: Xidorn Quan Date: Wed, 15 Mar 2017 17:28:41 +1100 Subject: [PATCH] Fix -moz-user-select: tri-state --- components/style/properties/longhand/ui.mako.rs | 2 +- tests/unit/style/parsing/ui.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/style/properties/longhand/ui.mako.rs b/components/style/properties/longhand/ui.mako.rs index cd5e9c7850f..b6d7bcd11e4 100644 --- a/components/style/properties/longhand/ui.mako.rs +++ b/components/style/properties/longhand/ui.mako.rs @@ -17,7 +17,7 @@ ${helpers.single_keyword("ime-mode", "auto normal active disabled inactive", spec="https://drafts.csswg.org/css-ui/#input-method-editor")} ${helpers.single_keyword("-moz-user-select", "auto text none all element elements" + - " toggle tri_state -moz-all -moz-none -moz-text", + " toggle tri-state -moz-all -moz-none -moz-text", products="gecko", alias="-webkit-user-select", gecko_ffi_name="mUserSelect", diff --git a/tests/unit/style/parsing/ui.rs b/tests/unit/style/parsing/ui.rs index a0b5367e9c2..10342947ea5 100644 --- a/tests/unit/style/parsing/ui.rs +++ b/tests/unit/style/parsing/ui.rs @@ -21,7 +21,7 @@ fn test_moz_user_select() { assert_roundtrip_with_context!(_moz_user_select::parse, "element"); assert_roundtrip_with_context!(_moz_user_select::parse, "elements"); assert_roundtrip_with_context!(_moz_user_select::parse, "toggle"); - assert_roundtrip_with_context!(_moz_user_select::parse, "tri_state"); + assert_roundtrip_with_context!(_moz_user_select::parse, "tri-state"); assert_roundtrip_with_context!(_moz_user_select::parse, "-moz-all"); assert_roundtrip_with_context!(_moz_user_select::parse, "-moz-none"); assert_roundtrip_with_context!(_moz_user_select::parse, "-moz-text");