Search e01
One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.
6 results across 6 corpora for CSSPropertyRule.
Developer library 6
Firefox 128 release notes for developers
e methods ShadowRoot.getHTML() and Element.getHTML(), and associated properties ShadowRoot.serializable and HTMLTemplateElement.shadowRootSerializable. - The [`CSSPropertyRule`](/docs/Web/API/CSSPropertyRule) interface is now supported by default and represents a CSS [`@property`](/docs/Web/CSS/Reference/At-rules/@property) at-rule. The interface allows you to get the values, including [`name`](/docs/Web/API/CSSPrope
CSS properties and values API
e/At-rules/@property#descriptors) descriptor - [initial-value](/docs/Web/CSS/Reference/At-rules/@property#descriptors) descriptor ### Interfaces and APIs - CSSPropertyRule - CSS.registerProperty() ## Guides - [Registering CSS custom properties](/docs/Web/CSS/Guides/Properties_and_values_API/Registering_properties) - : Covers how to register CSS custom properties with the `@property` at-rule and explains the b
CSSPropertyRule
CSS Properties and Values API The **`CSSPropertyRule`** interface of the [CSS Properties and Values API](/docs/Web/API/CSS_Properties_and_Values_API) represents a single CSS @property rule. ## Instance properties _Inherits properties from its ancestor CSSRule._ - CSSPropertyRule.inherits - : Returns the inherit flag of the custom property. - CSSPropertyRule.initialValue - : Returns the initial value of th
CSSPropertyRule: inherits property
CSS Properties and Values API The read-only **`inherits`** property of the CSSPropertyRule interface returns the inherit flag of the custom property registration represented by the @property rule, a boolean describing whether or not the property inherits by default. ## Value A boolean. ## Examples This stylesheet contains a single @property rule. The first CSSRule returned will be a `CSSPropertyRule` representin
CSSPropertyRule: name property
CSS Properties and Values API The read-only **`name`** property of the CSSPropertyRule interface represents the property name, this being the serialization of the name given to the custom property in the @property rule's prelude. ## Value A string. ## Examples This stylesheet contains a single @property rule. The first CSSRule returned will be a `CSSPropertyRule` representing this rule. The `name` property retur
CSSPropertyRule: initialValue property
CSS Properties and Values API The read-only **`initialValue`** nullable property of the CSSPropertyRule interface returns the initial value of the custom property registration represented by the @property rule, controlling the property's initial value. ## Value A string which is a [`<declaration-value>`](https://drafts.csswg.org/css-syntax/#typedef-declaration-value). ## Examples This stylesheet contains a singl