This page is Not Ready

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

content

Summary

The <content> element provides an insertion point into a shadow DOM tree.

Overview Table

DOM Interface
HTMLContentElement

Attributes

In addition to the Global Attributes, the <content> element supports the following attributes:

AttributeTypeDescription
selectA set of comma-separated tokensThe select tokens define the matching criteria for distributing child nodes of the shadow host.
reset-style-inheritanceRead-only. Boolean.Indicates whether the inheritable CSS properties are set to the initial value established at the shadow boundary.

See also

Related articles

Web Components