This page is In Progress

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

resetStyleInheritance

Summary

Indicates whether or not the inheritable CSS properties are set to the initial value at the shadow boundary. If false (default value), the properties continue to inherit. If true, the properties are set to initial value.

Property of dom/shadowdom/ShadowRootdom/shadowdom/ShadowRoot

Syntax

var result = element.resetStyleInheritance;
element.resetStyleInheritance = value;

Return Value

Returns an object of type BooleanBoolean

If false (default value), the properties continue to inherit. If true, the properties are set to initial value.

Usage

 Reflected in the reset-style-inheritance HTML attribute.