code: function querySelector(selector) {
      // match selector and halt on first result.
      var result = mixinImpl.query(this, function(n) {
        return matchesSelector(n, selector);
      }, function(n) {
        return Boolean(n);
      })[0];
      return result || null;
    }
docs: TODO(sorvell): consider doing native QSA and filtering results.