From 9df375195eb389ae851acac525bc00f10421d36b Mon Sep 17 00:00:00 2001 From: Corey Farwell Date: Sat, 10 Oct 2015 13:44:28 -0400 Subject: Implement 'labels' attribute on 'labelable elements' --- components/script/dom/htmllabelelement.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'components/script/dom/htmllabelelement.rs') diff --git a/components/script/dom/htmllabelelement.rs b/components/script/dom/htmllabelelement.rs index bcda8df24cc..448e5075ba5 100644 --- a/components/script/dom/htmllabelelement.rs +++ b/components/script/dom/htmllabelelement.rs @@ -86,7 +86,7 @@ impl VirtualMethods for HTMLLabelElement { } impl HTMLLabelElement { - fn first_labelable_descendant(&self) -> Option> { + pub fn first_labelable_descendant(&self) -> Option> { self.upcast::() .traverse_preorder() .filter_map(Root::downcast::) -- cgit v1.2.3