aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/script_thread.rs
diff options
context:
space:
mode:
authorDaniel Robertson <danlrobertson89@gmail.com>2016-02-20 19:45:10 +0000
committerDaniel Robertson <danlrobertson89@gmail.com>2016-02-24 11:41:42 -0500
commit83b2388ef4deb6eaa3d26088d0e78c07bca4e7cf (patch)
treefad4f4edde1b4386707f60cb10e87fb6240c169b /components/script/script_thread.rs
parent875f1e92ccafebc8ddebc722f430e5037007b9dc (diff)
downloadservo-83b2388ef4deb6eaa3d26088d0e78c07bca4e7cf.tar.gz
servo-83b2388ef4deb6eaa3d26088d0e78c07bca4e7cf.zip
Implement GetElementRect webdriver command
Implement the webdriver Get Element Rect command
Diffstat (limited to 'components/script/script_thread.rs')
-rw-r--r--components/script/script_thread.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/script/script_thread.rs b/components/script/script_thread.rs
index 1f4a82ec02d..ddf32f85406 100644
--- a/components/script/script_thread.rs
+++ b/components/script/script_thread.rs
@@ -1246,6 +1246,8 @@ impl ScriptThread {
webdriver_handlers::handle_get_attribute(&page, pipeline_id, node_id, name, reply),
WebDriverScriptCommand::GetElementCSS(node_id, name, reply) =>
webdriver_handlers::handle_get_css(&page, pipeline_id, node_id, name, reply),
+ WebDriverScriptCommand::GetElementRect(node_id, reply) =>
+ webdriver_handlers::handle_get_rect(&page, pipeline_id, node_id, reply),
WebDriverScriptCommand::GetElementText(node_id, reply) =>
webdriver_handlers::handle_get_text(&page, pipeline_id, node_id, reply),
WebDriverScriptCommand::GetFrameId(frame_id, reply) =>