mirror of
https://github.com/servo/servo.git
synced 2025-08-11 16:35:33 +01:00
Auto merge of #17215 - servo:derive-all-the-things, r=emilio
Derive more ToCss impls <!-- 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/17215) <!-- Reviewable:end -->
This commit is contained in:
commit
1555f0fc41
15 changed files with 54 additions and 96 deletions
|
@ -4241,8 +4241,8 @@ clip-path
|
|||
use style_traits::cursor::Cursor;
|
||||
|
||||
self.gecko.mCursor = match v.keyword {
|
||||
Keyword::AutoCursor => structs::NS_STYLE_CURSOR_AUTO,
|
||||
Keyword::SpecifiedCursor(cursor) => match cursor {
|
||||
Keyword::Auto => structs::NS_STYLE_CURSOR_AUTO,
|
||||
Keyword::Cursor(cursor) => match cursor {
|
||||
Cursor::None => structs::NS_STYLE_CURSOR_NONE,
|
||||
Cursor::Default => structs::NS_STYLE_CURSOR_DEFAULT,
|
||||
Cursor::Pointer => structs::NS_STYLE_CURSOR_POINTER,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue