CKTIS / CSS
text-size-adjust — controlling automatic text enlargement
The text-size-adjust property controls automatic text enlargement on small devices. It is inherited and initially auto.
Version: CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
Syntax
text-size-adjust: auto | none | <percentage [0,∞]>;text-size-adjust controls browser text enlargement for readability on small devices. It applies to all elements and is inherited.
auto is initial and selects default adjustment; none disables it. A nonnegative percentage replaces automatic adjustment with a multiplier of computed font-size: 150% means a factor of 1.5. In the draft, 100% equals none; negative values are invalid.
The draft does not precisely define “small device”, so a visual effect is not guaranteed on every screen. The example uses the unprefixed declaration text-size-adjust: none; to request that automatic text size adjustment be disabled for one paragraph. The displayed sentence is literal paragraph text and appears even if the browser ignores the declaration or automatic adjustment is not active. The example establishes neither support nor conformance in any particular browser version.
Examples
<!doctype html>
<html lang="en">
<meta charset="utf-8">
<title>text-size-adjust</title>
<style>
.sample {
font-size: 16px;
text-size-adjust: none;
}
</style>
<p class="sample">Text size adjustment is disabled for this paragraph.</p>
</html>Result
Text size adjustment is disabled for this paragraph.
The displayed code and declared result were verified in an isolated environment using the method recorded in the verification evidence for this exact version.