mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01:00
Implement deleteRow and insertRow for <table> element
Continued from #6936
This commit is contained in:
parent
02d8894945
commit
3d383f21ae
8 changed files with 81 additions and 77 deletions
|
@ -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>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue