| 1 |
<?php |
| 2 |
|
| 3 |
// AUTOMATICALLY GENERATED. DO NOT EDIT. |
| 4 |
// Use `composer build` to regenerate. |
| 5 |
|
| 6 |
namespace Wikimedia\IDLeDOM; |
| 7 |
|
| 8 |
/** |
| 9 |
* CSSGroupingRule |
| 10 |
* |
| 11 |
* @see https://dom.spec.whatwg.org/#interface-cssgroupingrule |
| 12 |
* |
| 13 |
* @property string $cssText |
| 14 |
* @property CSSRule|null $parentRule |
| 15 |
* @property CSSStyleSheet|null $parentStyleSheet |
| 16 |
* @property int $type |
| 17 |
* @property CSSRuleList $cssRules |
| 18 |
* @phan-forbid-undeclared-magic-properties |
| 19 |
*/ |
| 20 |
interface CSSGroupingRule extends CSSRule { |
| 21 |
// Direct parent: CSSRule |
| 22 |
|
| 23 |
/** |
| 24 |
* @return CSSRuleList |
| 25 |
*/ |
| 26 |
public function getCssRules(); |
| 27 |
|
| 28 |
/** |
| 29 |
* @param string $rule |
| 30 |
* @param int $index |
| 31 |
* @return int |
| 32 |
*/ |
| 33 |
public function insertRule( string $rule, int $index = 0 ): int; |
| 34 |
|
| 35 |
/** |
| 36 |
* @param int $index |
| 37 |
* @return void |
| 38 |
*/ |
| 39 |
public function deleteRule( int $index ): void; |
| 40 |
|
| 41 |
} |