Make stylo support moz-prefixed cursor values.

MozReview-Commit-ID: AfV0recnoXw
This commit is contained in:
KuoE0 2017-04-27 16:28:08 +08:00
parent 8850a01b81
commit 285ff8214e
4 changed files with 65 additions and 40 deletions

View file

@ -3832,6 +3832,11 @@ clip-path
Cursor::AllScroll => structs::NS_STYLE_CURSOR_ALL_SCROLL,
Cursor::ZoomIn => structs::NS_STYLE_CURSOR_ZOOM_IN,
Cursor::ZoomOut => structs::NS_STYLE_CURSOR_ZOOM_OUT,
// note: the following properties are gecko-only.
Cursor::MozGrab => structs::NS_STYLE_CURSOR_GRAB,
Cursor::MozGrabbing => structs::NS_STYLE_CURSOR_GRABBING,
Cursor::MozZoomIn => structs::NS_STYLE_CURSOR_ZOOM_IN,
Cursor::MozZoomOut => structs::NS_STYLE_CURSOR_ZOOM_OUT,
}
} as u8;