FontFace.style
Draft
This page is not complete.
Experimental
This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The style
property of the
FontFace
interface retrieves or sets the font's style. It is equivalent
to the font-style
descriptor.
Syntax
var style = FontFace.style;
FontFace.style = value;
Value
A CSSOMString
containing the descriptors defined in the style sheet's
@font-face
rule.
Specifications
Specification | Status | Comment |
---|---|---|
CSS Font Loading Module Level 3 The definition of 'style' in that specification. |
Working Draft | Initial definition. |
Browser compatibility
BCD tables only load in the browser