CSSScopeRule: start property

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

The start property of the CSSScopeRule interface returns a string containing the value of the @scope at-rule's scope root.

Value

A string, or null if the @scope at-rule has no scope root defined.

Example

See the main CSSScopeRule page for an example.

Specifications

Specification
CSS Cascading and Inheritance Level 6
# dom-cssscoperule-start

Browser compatibility

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
start

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support
No support
No support
See implementation notes.
User must explicitly enable this feature.

See also