pub trait DocumentFragmentMethods {
// Required methods
fn GetElementById(&self, elementId: DOMString) -> Option<Root<Dom<Element>>>;
fn Children(&self) -> Root<Dom<HTMLCollection>>;
fn GetFirstElementChild(&self) -> Option<Root<Dom<Element>>>;
fn GetLastElementChild(&self) -> Option<Root<Dom<Element>>>;
fn ChildElementCount(&self) -> u32;
fn Prepend(&self, nodes: Vec<NodeOrString>) -> Result<(), Error>;
fn Append(&self, nodes: Vec<NodeOrString>) -> Result<(), Error>;
fn ReplaceChildren(&self, nodes: Vec<NodeOrString>) -> Result<(), Error>;
fn QuerySelector(
&self,
selectors: DOMString
) -> Result<Option<Root<Dom<Element>>>, Error>;
fn QuerySelectorAll(
&self,
selectors: DOMString
) -> Result<Root<Dom<NodeList>>, Error>;
}