|
Some checks are pending
build-gate / build (push) Waiting to run
Their heading face has no Cyrillic glyphs. That is why base/_globals.scss:35-44 switches every h1/h2/h3 to --font-family-cyrillic under [lang="ru-RU"], with letter-spacing -0.02em — without it a Russian heading leaves the family entirely and lands on whatever condensed system face the browser picks. We ship a `ru` locale and had neither the rule nor the font, so that is exactly what every Russian heading in this clone was doing. Four subsets vendored, Google's own unicode-range values carried verbatim so the browser fetches only what a heading needs: cyrillic 6700B and cyrillic-ext 7688B are the point, latin 12248B and latin-ext 11624B come too because a Russian heading routinely contains Latin characters — a country name, a figure, an ampersand — and a Cyrillic-only face drops those back to the fallback mid-word, which looks worse than not switching. Each file verified to begin with the wOF2 magic after download, because a fetch that returns an HTML error page also "succeeds" and a font that is really a 404 fails at render time with no network error left to find. Two things the rule needed beyond the font. [lang] cannot cross a shadow boundary, so the attribute has to be INSIDE the root for a selector in the root's own stylesheet to see it — our roots now carry :lang for the same reason they already carried :dir, and it is correct HTML besides. And the selector accepts both `ru` and `ru-RU`: their site tags the document ru-RU while our i18n locale is `ru`, and a host page embedding this element may set either, so a selector matching only one would work on their site and fail on ours. Only the headings, as theirs. Their .region-stat__value is a <p>, so their ru-RU rule does not touch it and it keeps the heading family even in Russian — switching everything would be wrong in a way no Russian reader would report and no English reader could see. _probe-cyrillic-headings.mjs checks the mechanism and the result separately, so a rule that is present but inert cannot pass: the attribute is on the root, the Oswald subset returned 200, the face is usable once document.fonts.ready resolves, the h1 and h2 switched, the stat value did not, and English is untouched in both family and letter-spacing. It awaits fonts.ready before asking about a font — not doing so is what made a sibling probe report a cross-origin font failure that did not exist. |
||
|---|---|---|
| .. | ||
| boundaries | ||
| brand | ||
| fonts | ||
| images | ||
| previews | ||
| tables | ||