Auto merge of #18990 - mhaessig:mouse-event-fixup, r=KiChjang

Fixed FireMouseEventType mixup

Fix for a bug I didn't catch in #18957. Thanks to @rharel for pointing it out.

- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix issue #18943 and bug in PR #18957
- [X] These changes do not require tests as specified in #18943

r?@jdm

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/18990)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2017-10-23 10:18:42 -05:00 committed by GitHub
commit d9ede4dc05

View file

@ -168,8 +168,8 @@ impl FireMouseEventType {
pub fn as_str(&self) -> &str { pub fn as_str(&self) -> &str {
match self { match self {
&FireMouseEventType::Move => "mousemove", &FireMouseEventType::Move => "mousemove",
&FireMouseEventType::Over => "mouseout", &FireMouseEventType::Over => "mouseover",
&FireMouseEventType::Out => "mouseover", &FireMouseEventType::Out => "mouseout",
} }
} }
} }