aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/layout_task.rs
diff options
context:
space:
mode:
authorPatrick Walton <pcwalton@mimiga.net>2015-01-01 17:12:51 -0500
committerPatrick Walton <pcwalton@mimiga.net>2015-01-08 08:32:26 -0800
commit899c9429d0095086ca1575bddef840af48407de1 (patch)
tree6f91b3697eda55da8e21ea1e2b7b58c9065f8610 /components/layout/layout_task.rs
parentdf6a7959df69bf98b397f088fc3cf1fad2cc0aaf (diff)
downloadservo-899c9429d0095086ca1575bddef840af48407de1.tar.gz
servo-899c9429d0095086ca1575bddef840af48407de1.zip
layout: Implement `pointer-events: none` per SVG 1.1 § 16.6.
SVG-only values are not yet supported.
Diffstat (limited to 'components/layout/layout_task.rs')
-rw-r--r--components/layout/layout_task.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/layout/layout_task.rs b/components/layout/layout_task.rs
index 48c1bb10496..f5301c27867 100644
--- a/components/layout/layout_task.rs
+++ b/components/layout/layout_task.rs
@@ -998,7 +998,7 @@ impl LayoutRPC for LayoutRPCImpl {
// Compute the new cursor.
let cursor = if !mouse_over_list.is_empty() {
- mouse_over_list[0].cursor
+ mouse_over_list[0].pointing.unwrap()
} else {
Cursor::DefaultCursor
};