Move is_connected function from style to layout, where it is used

This commit is contained in:
Fernando Jiménez Moreno 2019-03-07 13:59:23 +01:00
parent 5be6779f9a
commit 5a165c6bd8
3 changed files with 7 additions and 7 deletions

View file

@ -188,9 +188,6 @@ pub trait TNode: Sized + Copy + Clone + Debug + NodeInfo + PartialEq {
/// Returns whether the node is attached to a document.
fn is_in_document(&self) -> bool;
/// Returns whether the node is connected.
fn is_connected(&self) -> bool;
/// Iterate over the DOM children of a node, in preorder.
fn dom_descendants(&self) -> DomDescendants<Self> {
DomDescendants {