Replace Node::isInert() with RenderStyle::effectiveInert()