Debian Codegraph @

vendor/wikimedia/idle-dom/src/CSSStyleRule.php

raw
1 <?php
2
3 // AUTOMATICALLY GENERATED. DO NOT EDIT.
4 // Use `composer build` to regenerate.
5
6 namespace Wikimedia\IDLeDOM;
7
8 /**
9 * CSSStyleRule
10 *
11 * @see https://dom.spec.whatwg.org/#interface-cssstylerule
12 *
13 * @property string $cssText
14 * @property CSSRule|null $parentRule
15 * @property CSSStyleSheet|null $parentStyleSheet
16 * @property int $type
17 * @property string $selectorText
18 * @property CSSStyleDeclaration $style
19 * @phan-forbid-undeclared-magic-properties
20 */
21 interface CSSStyleRule extends CSSRule {
22 // Direct parent: CSSRule
23
24 /**
25 * @return string
26 */
27 public function getSelectorText(): string;
28
29 /**
30 * @param string $val
31 */
32 public function setSelectorText( string $val ): void;
33
34 /**
35 * @return CSSStyleDeclaration
36 */
37 public function getStyle();
38
39 /**
40 * @param string $val
41 */
42 public function setStyle( string $val ): void;
43
44 }