mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Add some dom node tree implementations
This commit is contained in:
parent
ae0d531dd6
commit
995e4fdd11
1 changed files with 4 additions and 4 deletions
|
@ -499,19 +499,19 @@ impl Node<ScriptView> {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn GetFirstChild(&self) -> Option<AbstractNode<ScriptView>> {
|
pub fn GetFirstChild(&self) -> Option<AbstractNode<ScriptView>> {
|
||||||
None
|
self.first_child
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn GetLastChild(&self) -> Option<AbstractNode<ScriptView>> {
|
pub fn GetLastChild(&self) -> Option<AbstractNode<ScriptView>> {
|
||||||
None
|
self.last_child
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn GetPreviousSibling(&self) -> Option<AbstractNode<ScriptView>> {
|
pub fn GetPreviousSibling(&self) -> Option<AbstractNode<ScriptView>> {
|
||||||
None
|
self.prev_sibling
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn GetNextSibling(&self) -> Option<AbstractNode<ScriptView>> {
|
pub fn GetNextSibling(&self) -> Option<AbstractNode<ScriptView>> {
|
||||||
None
|
self.next_sibling
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn GetNodeValue(&self) -> DOMString {
|
pub fn GetNodeValue(&self) -> DOMString {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue