CKTIS / CSS
font-synthesis-style — controlling synthetic slant
font-synthesis-style determines whether the browser may artificially slant glyphs when a suitable font face is missing. It does not replace font-style.
Version: CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
Syntax
font-synthesis-style: auto | none | oblique-only;font-synthesis-style controls slant synthesis. font-style requests a face; this property permits or forbids an artificial approximation.
auto allows synthesis; none forbids it. oblique-only allows synthesis but forbids using it as fallback for italic. Permission does not force synthesis.
Initially auto, the property is inherited. none does not block real italics or variable-font axes. It does not disable synthesized bold. A later font-synthesis shorthand can overwrite it.
The example checks inheritance and a local override, not glyph appearance. Specification inclusion does not establish target-browser support for oblique-only.
Examples
const parent = document.createElement('div');
const child = document.createElement('span');
parent.style.fontSynthesisStyle = 'none';
child.textContent = 'Sample';
parent.append(child);
document.body.append(parent);
console.log(getComputedStyle(child).fontSynthesisStyle);
child.style.fontSynthesisStyle = 'auto';
console.log(getComputedStyle(child).fontSynthesisStyle);
parent.remove();Result
none auto
The displayed code and declared result were verified in an isolated environment using the method recorded in the verification evidence for this exact version.