Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
1 | <?php |
2 | |
3 | // AUTOMATICALLY GENERATED. DO NOT EDIT. |
4 | // Use `composer build` to regenerate. |
5 | |
6 | namespace Wikimedia\IDLeDOM; |
7 | |
8 | /** |
9 | * CSSStyleDeclaration |
10 | * |
11 | * @see https://dom.spec.whatwg.org/#interface-cssstyledeclaration |
12 | * |
13 | * @property string $cssText |
14 | * @property int $length |
15 | * @property CSSRule|null $parentRule |
16 | * @property string $cssFloat |
17 | * @phan-forbid-undeclared-magic-properties |
18 | */ |
19 | interface CSSStyleDeclaration extends \ArrayAccess { |
20 | /** |
21 | * @return string |
22 | */ |
23 | public function getCssText(): string; |
24 | |
25 | /** |
26 | * @param string $val |
27 | */ |
28 | public function setCssText( string $val ): void; |
29 | |
30 | /** |
31 | * @return int |
32 | */ |
33 | public function getLength(): int; |
34 | |
35 | /** |
36 | * @param int $index |
37 | * @return string |
38 | */ |
39 | public function item( int $index ): string; |
40 | |
41 | /** |
42 | * @param string $property |
43 | * @return string |
44 | */ |
45 | public function getPropertyValue( string $property ): string; |
46 | |
47 | /** |
48 | * @param string $property |
49 | * @return string |
50 | */ |
51 | public function getPropertyPriority( string $property ): string; |
52 | |
53 | /** |
54 | * @param string $property |
55 | * @param ?string $value |
56 | * @param string $priority |
57 | * @return void |
58 | */ |
59 | public function setProperty( string $property, ?string $value = '', string $priority = '' ): void; |
60 | |
61 | /** |
62 | * @param string $property |
63 | * @return string |
64 | */ |
65 | public function removeProperty( string $property ): string; |
66 | |
67 | /** |
68 | * @return CSSRule|null |
69 | */ |
70 | public function getParentRule(); |
71 | |
72 | /** |
73 | * @return string |
74 | */ |
75 | public function getCssFloat(): string; |
76 | |
77 | /** |
78 | * @param ?string $val |
79 | */ |
80 | public function setCssFloat( ?string $val ): void; |
81 | |
82 | } |