font-style: italic does not activate the ital axis

#40681464 New P3 CSS Fonts

Reproduction

Steps

  1. Open the Rendered tab in Chrome.
  2. Compare its three lines with the Expected tab.
  3. The first line should activate ital=1, not remain upright.

Current behavior

font-style: italic is mapped only to the slnt axis. An ital-only variable font remains at ital=0.

Expected behavior

The italic keyword uses ital=1. Oblique uses slnt and keeps ital=0.

Live cases

Expected rendering
Red pixel difference overlay from an affected build

Lines: ital-only + italic; ital/slnt + italic; ital/slnt + oblique. Red pixels in Diff mark the affected build's mismatch.

Test files

Open rendered test Open explicit-axis reference Original test page

References