Page MenuHomeWickedGov Phorge

CSSStyleSheet.php
No OneTemporary

Size
1 KB
Referenced Files
None
Subscribers
None

CSSStyleSheet.php

<?php
// AUTOMATICALLY GENERATED. DO NOT EDIT.
// Use `composer build` to regenerate.
namespace Wikimedia\IDLeDOM;
/**
* CSSStyleSheet
*
* @see https://dom.spec.whatwg.org/#interface-cssstylesheet
*
* @property string $type
* @property ?string $href
* @property Element|ProcessingInstruction|null $ownerNode
* @property CSSStyleSheet|null $parentStyleSheet
* @property ?string $title
* @property MediaList $media
* @property bool $disabled
* @property CSSRule|null $ownerRule
* @property CSSRuleList $cssRules
* @property CSSRuleList $rules
* @phan-forbid-undeclared-magic-properties
*/
interface CSSStyleSheet extends StyleSheet {
// Direct parent: StyleSheet
/**
* @return CSSRule|null
*/
public function getOwnerRule();
/**
* @return CSSRuleList
*/
public function getCssRules();
/**
* @param string $rule
* @param int $index
* @return int
*/
public function insertRule( string $rule, int $index = 0 ): int;
/**
* @param int $index
* @return void
*/
public function deleteRule( int $index ): void;
/**
* @param string $text
* @return void
*/
public function replaceSync( string $text ): void;
/**
* @return CSSRuleList
*/
public function getRules();
/**
* @param string $selector
* @param string $style
* @param ?int $index
* @return int
*/
public function addRule( string $selector = 'undefined', string $style = 'undefined', ?int $index = null ): int;
/**
* @param int $index
* @return void
*/
public function removeRule( int $index = 0 ): void;
}

File Metadata

Mime Type
text/x-php
Expires
Oct 2 2026, 22:56 (5 w, 4 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
ec/c7/ec460d336641194456641683aa93
Default Alt Text
CSSStyleSheet.php (1 KB)

Event Timeline