Skip to content

Commit

Permalink
Fix -moz-user-select: tri-state
Browse files Browse the repository at this point in the history
  • Loading branch information
upsuper committed Mar 15, 2017
1 parent de42121 commit a304b5b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/style/properties/longhand/ui.mako.rs
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/style/parsing/ui.rs
Expand Up @@ -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");
Expand Down

0 comments on commit a304b5b

Please sign in to comment.