pub fn query_selector(
doc: &BaseDocument,
selector: &str,
) -> Result<Option<NodeId>>Expand description
document.querySelector(selector).
Deliberate difference: an unparseable selector is an error here.
blitz-script maps it to null; its reparented body is
query_selector(...).ok().flatten().