aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlcollection.rs
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2015-10-04 17:17:45 -0400
committerCorey Farwell <coreyf@rwell.org>2015-10-11 09:47:46 -0400
commit3d383f21ae416e528832b8ebf48b060b2c3105e8 (patch)
tree4e8b3257eca0dfd950c3ae1ed887cda35fcf04b1 /components/script/dom/htmlcollection.rs
parent02d889494580d2b387a42d3a94360e40dce96282 (diff)
downloadservo-3d383f21ae416e528832b8ebf48b060b2c3105e8.tar.gz
servo-3d383f21ae416e528832b8ebf48b060b2c3105e8.zip
Implement deleteRow and insertRow for <table> element
Continued from #6936
Diffstat (limited to 'components/script/dom/htmlcollection.rs')
-rw-r--r--components/script/dom/htmlcollection.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/htmlcollection.rs b/components/script/dom/htmlcollection.rs
index f9a6ba38350..71d57d94005 100644
--- a/components/script/dom/htmlcollection.rs
+++ b/components/script/dom/htmlcollection.rs
@@ -160,7 +160,7 @@ impl HTMLCollection {
HTMLCollection::create(window, root, box ElementChildFilter)
}
- fn elements_iter(&self) -> HTMLCollectionElementsIter {
+ pub fn elements_iter(&self) -> HTMLCollectionElementsIter {
let ref filter = self.collection.1;
let root = self.collection.0.root();
let mut node_iter = root.traverse_preorder();
@@ -173,7 +173,7 @@ impl HTMLCollection {
}
}
-struct HTMLCollectionElementsIter<'a> {
+pub struct HTMLCollectionElementsIter<'a> {
node_iter: TreeIterator,
root: Root<Node>,
filter: &'a Box<CollectionFilter>,