aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/script_task.rs
diff options
context:
space:
mode:
authorbors-servo <release+servo@mozilla.com>2014-04-23 03:19:23 -0400
committerbors-servo <release+servo@mozilla.com>2014-04-23 03:19:23 -0400
commit3fc2c119103ce743bda53d1ef25c360bc6c713a7 (patch)
tree052083e446cc7534476271f6f72c759af222f127 /src/components/script/script_task.rs
parentb35d83099949a81fb704a573c73f8fb4c4da45ee (diff)
parentdfe5215b8876fc0f3b4ed01e989ef9b0e129c094 (diff)
downloadservo-3fc2c119103ce743bda53d1ef25c360bc6c713a7.tar.gz
servo-3fc2c119103ce743bda53d1ef25c360bc6c713a7.zip
auto merge of #2209 : lpy/servo/issue2188, r=Ms2ger
see #2188
Diffstat (limited to 'src/components/script/script_task.rs')
-rw-r--r--src/components/script/script_task.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/script/script_task.rs b/src/components/script/script_task.rs
index 7bb8d50f8eb..a78108c057a 100644
--- a/src/components/script/script_task.rs
+++ b/src/components/script/script_task.rs
@@ -1062,7 +1062,7 @@ impl ScriptTask {
if node.is_element() {
let element: JS<Element> = ElementCast::to(&node).unwrap();
- if "a" == element.get().tag_name {
+ if "a" == element.get().local_name {
self.load_url_from_element(page, &element)
}
}