aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmllabelelement.rs
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2015-10-10 13:44:28 -0400
committerCorey Farwell <coreyf@rwell.org>2015-11-01 09:50:14 -0500
commit9df375195eb389ae851acac525bc00f10421d36b (patch)
treeb63b6ad5fe1b8b74685d2c716ac404d8c245bda1 /components/script/dom/htmllabelelement.rs
parent37c03c78165fbb77eb024f2c3376d5e33cd7e446 (diff)
downloadservo-9df375195eb389ae851acac525bc00f10421d36b.tar.gz
servo-9df375195eb389ae851acac525bc00f10421d36b.zip
Implement 'labels' attribute on 'labelable elements'
Diffstat (limited to 'components/script/dom/htmllabelelement.rs')
-rw-r--r--components/script/dom/htmllabelelement.rs2
1 files changed, 1 insertions, 1 deletions
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<Root<HTMLElement>> {
+ pub fn first_labelable_descendant(&self) -> Option<Root<HTMLElement>> {
self.upcast::<Node>()
.traverse_preorder()
.filter_map(Root::downcast::<HTMLElement>)