aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/display_list_builder.rs
diff options
context:
space:
mode:
authorCameron McCormack <cam@mcc.id.au>2016-10-17 17:12:24 +0800
committerCameron McCormack <cam@mcc.id.au>2016-11-21 14:48:59 +0800
commit830cc88283d3cf92f378cd104efd2743aa38da11 (patch)
tree2700549c128987cfe7e2ba663431168002fc70ff /components/layout/display_list_builder.rs
parentc6be1a8995eed8cb40288e7cf90dfa07cb9351ac (diff)
downloadservo-830cc88283d3cf92f378cd104efd2743aa38da11.tar.gz
servo-830cc88283d3cf92f378cd104efd2743aa38da11.zip
Support cursor property url() values in stylo. r=manishearth
MozReview-Commit-ID: 6herzaXUz4i
Diffstat (limited to 'components/layout/display_list_builder.rs')
-rw-r--r--components/layout/display_list_builder.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/layout/display_list_builder.rs b/components/layout/display_list_builder.rs
index 500af800939..4505ac10192 100644
--- a/components/layout/display_list_builder.rs
+++ b/components/layout/display_list_builder.rs
@@ -2246,8 +2246,8 @@ impl ServoComputedValuesCursorUtility for ServoComputedValues {
fn get_cursor(&self, default_cursor: Cursor) -> Option<Cursor> {
match (self.get_pointing().pointer_events, self.get_pointing().cursor) {
(pointer_events::T::none, _) => None,
- (pointer_events::T::auto, cursor::T::AutoCursor) => Some(default_cursor),
- (pointer_events::T::auto, cursor::T::SpecifiedCursor(cursor)) => Some(cursor),
+ (pointer_events::T::auto, cursor::Keyword::AutoCursor) => Some(default_cursor),
+ (pointer_events::T::auto, cursor::Keyword::SpecifiedCursor(cursor)) => Some(cursor),
}
}
}