mirror of
https://github.com/servo/servo.git
synced 2025-08-15 02:15:33 +01:00
Make stylo support moz-prefixed cursor values.
MozReview-Commit-ID: AfV0recnoXw
This commit is contained in:
parent
8850a01b81
commit
285ff8214e
4 changed files with 65 additions and 40 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue