files/en-us/web/api/fontface/display/index.md
{{APIRef("CSS Font Loading API")}}{{AvailableInWorkers}}
The display property of the {{domxref("FontFace")}} interface determines how a font face is displayed based on whether and when it is downloaded and ready to use.
This property is equivalent to the CSS font-display descriptor.
When this property is used, font loading has a timeline with three periods. The lengths of the first two periods depend on the value of the property and the user agent. (See below.)
A string with one of the following values.
auto
block
fallback
optional
swap
{{Specifications}}
{{Compat}}