Lines Matching refs:node
36 void StyleSheetScopingNodeList::add(ContainerNode* node)
38 ASSERT(node && node->inDocument());
39 if (isTreeScopeRoot(node))
44 m_scopingNodes->add(node);
47 m_scopingNodesRemoved->remove(node);
50 void StyleSheetScopingNodeList::remove(ContainerNode* node)
52 if (isTreeScopeRoot(node) || !m_scopingNodes)
55 // If the node is still working as a scoping node, we cannot remove.
56 if (node->inDocument())
59 m_scopingNodes->remove(node);
62 m_scopingNodesRemoved->add(node);