From 95aca4b4d8fa62815d4bd412fff1a364f842814a Mon Sep 17 00:00:00 2001 From: Ryan Johnson Date: Thu, 29 Apr 2021 16:16:42 -0700 Subject: remove retired locales (#699) --- .../id/web/css/@font-face/font-display/index.html | 101 --------------------- 1 file changed, 101 deletions(-) delete mode 100644 files/id/web/css/@font-face/font-display/index.html (limited to 'files/id/web/css/@font-face/font-display/index.html') diff --git a/files/id/web/css/@font-face/font-display/index.html b/files/id/web/css/@font-face/font-display/index.html deleted file mode 100644 index e7e8197792..0000000000 --- a/files/id/web/css/@font-face/font-display/index.html +++ /dev/null @@ -1,101 +0,0 @@ ---- -title: font-display -slug: Web/CSS/@font-face/font-display -translation_of: Web/CSS/@font-face/font-display ---- -
{{CSSRef}}
- -

The font-display descriptor determines how a font face is displayed based on whether and when it is downloaded and ready to use.

- -

The font display timeline

- -

The font display timeline is based on a timer that begins the moment the user agent attempts to use a given downloaded font face. The timeline is divided into the three periods below which dictate the rendering behavior of any elements using the font face.

- -
-
Font block period
-
If the font face is not loaded, any element attempting to use it must render an invisible fallback font face. If the font face successfully loads during this period, it is used normally.
-
Font swap period
-
If the font face is not loaded, any element attempting to use it must render a fallback font face. If the font face successfully loads during this period, it is used normally.
-
Font failure period
-
If the font face is not loaded, the user agent treats it as a failed load causing normal font fallback.
-
- -

{{cssinfo}}

- -

Syntax

- -
/* Keyword values */
-font-display: auto;
-font-display: block;
-font-display: swap;
-font-display: fallback;
-font-display: optional;
- -

Values

- -
-
auto
-
The font display strategy is defined by the user agent.
-
block
-
Gives the font face a short block period and an infinite swap period.
-
swap
-
Gives the font face an extremely small block period and an infinite swap period.
-
fallback
-
Gives the font face an extremely small block period and a short swap period.
-
optional
-
Gives the font face an extremely small block period and no swap period.
-
- -

Formal syntax

- -{{csssyntax}} - -

Examples

- -
@font-face {
-  font-family: ExampleFont;
-  src: url(/path/to/fonts/examplefont.woff) format('woff'),
-       url(/path/to/fonts/examplefont.eot) format('eot');
-  font-weight: 400;
-  font-style: normal;
-  font-display: fallback;
-}
- -

Specifications

- - - - - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('CSS4 Fonts', '#font-display-desc', 'font-display')}}{{Spec2('CSS4 Fonts')}}Initial definition
- -

Browser compatibility

- - - -

{{Compat("css.at-rules.font-face.font-display")}}

- -

See also

- - -- cgit v1.2.3-54-g00ecf