nsIDOMDocumentFragment.idl 1003 B

12345678910111213141516171819202122232425262728
  1. /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
  2. /* This Source Code Form is subject to the terms of the Mozilla Public
  3. * License, v. 2.0. If a copy of the MPL was not distributed with this
  4. * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
  5. #include "nsIDOMNode.idl"
  6. /**
  7. * DocumentFragment is a "lightweight" or "minimal" Document object.
  8. * nsIDOMDocumentFragment is used in situations where the Document
  9. * interface can potentially be a heavyweight interface.
  10. *
  11. * For more information on this interface please see
  12. * http://www.w3.org/TR/DOM-Level-2-Core/
  13. */
  14. [builtinclass, uuid(48eb8d72-95bb-402e-a8fc-f2b187abcbdb)]
  15. interface nsIDOMDocumentFragment : nsIDOMNode
  16. {
  17. /**
  18. * Return nodes that match a given CSS selector.
  19. *
  20. * @see <http://dev.w3.org/2006/webapi/selectors-api/>
  21. */
  22. nsIDOMElement querySelector([Null(Stringify)] in DOMString selectors);
  23. nsIDOMNodeList querySelectorAll([Null(Stringify)] in DOMString selectors);
  24. };