nsIDOMCSSGroupingRule.idl 845 B

12345678910111213141516171819202122
  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 "nsIDOMCSSRule.idl"
  6. /**
  7. * Interface for at-rules that have child rules in the CSS OM.
  8. */
  9. [scriptable, uuid(a0e3324a-f911-4baf-9591-5322c76cbb0d)]
  10. interface nsIDOMCSSGroupingRule : nsIDOMCSSRule
  11. {
  12. readonly attribute nsIDOMCSSRuleList cssRules;
  13. unsigned long insertRule(in DOMString rule,
  14. [optional] in unsigned long index)
  15. raises(DOMException);
  16. void deleteRule(in unsigned long index)
  17. raises(DOMException);
  18. };