mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
parent
c80fa33864
commit
6fd46b5e6a
21 changed files with 104 additions and 125 deletions
|
@ -18,7 +18,7 @@ macro_rules! define_cursor {
|
|||
impl Cursor {
|
||||
pub fn from_css_keyword(keyword: &str) -> Result<Cursor, ()> {
|
||||
match_ignore_ascii_case! { keyword,
|
||||
$( concat!($css) => Ok(Cursor::$variant) ),+
|
||||
$( concat!($css) => Ok(Cursor::$variant), )+
|
||||
_ => Err(())
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue