Use == instead match for is_* function in dom/node.rs