Firefox Tomorrow

web api instance property

FontFace: style property

View on MDN ↗

Available in workers

The style property of the FontFace interface retrieves or sets the font’s style.

This property is equivalent to the font-style descriptor.

Value

A string containing the descriptors defined in the style sheet’s @font-face rule.

Specifications

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.