aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/layout/wrapper.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/layout/wrapper.rs')
-rw-r--r--src/components/layout/wrapper.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/layout/wrapper.rs b/src/components/layout/wrapper.rs
index 9616eedcb3a..d052c263655 100644
--- a/src/components/layout/wrapper.rs
+++ b/src/components/layout/wrapper.rs
@@ -383,7 +383,7 @@ impl<'le> TElement for LayoutElement<'le> {
fn get_link(&self) -> Option<&'static str> {
// FIXME: This is HTML only.
- match self.element.node.type_id {
+ match self.element.node.type_id_for_layout() {
// http://www.whatwg.org/specs/web-apps/current-work/multipage/selectors.html#
// selector-link
ElementNodeTypeId(HTMLAnchorElementTypeId) |