Files
basilisk55/dom/webidl/CSSStyleSheet.webidl
T
roytam1 f7cbe248db import changes from tenfourfox:
- #578: M1322864 M1585106 M1597043 (7758ebb12)
- #578: M1579060 M1586176 (f3f295615)
- #581: M1047098 M1355576 (ec8e68102) (remove-tele part only)
- closes #582: M1358018 modified for 45ESR (74fd7b6d0)
- #584: update certs, pins, TLDs (690b9bbce)
- #587: M1513855 M1596668 M1602944 M1599420 M1595399 (35a4358b3)
- #587: update TLDs, certs, pins, etc. (35584e5e6)
- #587: M1598543 M1607902 disable remote jars (cfb4b1e08)
- #587: update TLDs (c15b86c49)
- #591: M1467722 (cfb43390a) (with libeditor fix)
- #591: bustage fix (bbc9a12a5)
- #593: M1607742 M1684490 + updated TLDs, pins, HSTS (67706e1f6)
2020-02-28 22:35:51 +08:00

28 lines
884 B
Plaintext

/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/.
*
* The origin of this IDL file is
* http://dev.w3.org/csswg/cssom/
*/
enum CSSStyleSheetParsingMode {
"author",
"user",
"agent"
};
interface CSSStyleSheet : StyleSheet {
[Pure]
readonly attribute CSSRule? ownerRule;
[Throws, NeedsSubjectPrincipal]
readonly attribute CSSRuleList cssRules;
[ChromeOnly, BinaryName="parsingModeDOM"]
readonly attribute CSSStyleSheetParsingMode parsingMode;
[Throws, NeedsSubjectPrincipal]
unsigned long insertRule(DOMString rule, optional unsigned long index = 0);
[Throws, NeedsSubjectPrincipal]
void deleteRule(unsigned long index);
};