font-family
matches Chrome on some values: 4 of 11 decided examples match Chrome; 1 not decided
css-fonts-4
Some of the examples match Chrome and some do not: the count says how many, and the values that differ are listed first, each with its difference map.
The 7 that do not: font-family:system-ui, font-family:"X", font-family:flexpdf, font-family:math, font-family:ui-serif, font-family:ui-sans-serif, font-family:ui-monospace. They come first below, each with its difference map.
What the specification says
| Initial value | depends on user agent |
|---|---|
| Applies to | all elements and text |
| Inherited | yes |
| Percentages | n/a |
| Computed value | list, each item a string and/or <generic-font-family> keywords |
| Syntax | [ <font-family-name> | <generic-font-family> ]# |
The measurements
12 examples: seven render differently and come first, four match Chrome and one is not decided. Each is one declaration on a small page, drawn by Chrome and by our engine. Drag on a picture to move the line between them.
font-family:system-ui
renders differently

| Pixels that differ from Chrome | 5,768 |
|---|---|
| The same, on the page without the declaration | 4,691 |
| Largest difference on one colour channel | 221 of 255 |
| The same, on the page without the declaration | 221 of 255 |
The declaration takes effect differently from Chrome: the difference map shows where.
font-family:"X", font-family:flexpdf, font-family:ui-sans-serif
renders differently

| Pixels that differ from Chrome | 5,584 |
|---|---|
| The same, on the page without the declaration | 4,691 |
| Largest difference on one colour channel | 221 of 255 |
| The same, on the page without the declaration | 221 of 255 |
The declaration takes effect differently from Chrome: the difference map shows where.
font-family:math
renders differently

| Pixels that differ from Chrome | 7,659 |
|---|---|
| The same, on the page without the declaration | 4,691 |
| Largest difference on one colour channel | 221 of 255 |
| The same, on the page without the declaration | 221 of 255 |
The declaration takes effect differently from Chrome: the difference map shows where.
font-family:ui-serif
renders differently

| Pixels that differ from Chrome | 6,283 |
|---|---|
| The same, on the page without the declaration | 4,691 |
| Largest difference on one colour channel | 221 of 255 |
| The same, on the page without the declaration | 221 of 255 |
The declaration takes effect differently from Chrome: the difference map shows where.
font-family:ui-monospace
renders differently

| Pixels that differ from Chrome | 25,104 |
|---|---|
| The same, on the page without the declaration | 4,691 |
| Largest difference on one colour channel | 238 of 255 |
| The same, on the page without the declaration | 221 of 255 |
The declaration takes effect differently from Chrome: the difference map shows where.
font-family:sans-serif
not decided

| Pixels that differ from Chrome | 5,376 |
|---|---|
| The same, on the page without the declaration | 4,691 |
| Largest difference on one colour channel | 172 of 255 |
| The same, on the page without the declaration | 221 of 255 |
The pages differ by 5,376 pixels with the declaration and by 4,691 without it: a little more, but within the difference the text already makes, so the measurement does not decide this example.
font-family:monospace
same effect as Chrome

| Pixels that differ from Chrome | 3,256 |
|---|---|
| The same, on the page without the declaration | 4,691 |
| Largest difference on one colour channel | 221 of 255 |
| The same, on the page without the declaration | 221 of 255 |
The pages differ by 3,256 pixels with the declaration and by 4,691 without it: what differs is there before the property (mostly the fonts), and the declaration does not add to it.
font-family:serif, font-family:cursive, font-family:fantasy
same effect as Chrome

| Pixels that differ from Chrome | 316 |
|---|---|
| The same, on the page without the declaration | 4,691 |
| Largest difference on one colour channel | 181 of 255 |
| The same, on the page without the declaration | 221 of 255 |
The pages differ by 316 pixels with the declaration and by 4,691 without it: what differs is there before the property (mostly the fonts), and the declaration does not add to it.
Which values were measured
A match on one example means a match at the value tried. The property’s grammar has 13 branches, and 12 of them carry a measurement. At most 12 examples are published per property, so a branch past that is left out by our choice.
| Value | Measured |
|---|---|
"X" | renders differently |
flexpdf | renders differently |
serif | same effect as Chrome |
sans-serif | not decided |
system-ui | renders differently |
cursive | same effect as Chrome |
fantasy | same effect as Chrome |
math | renders differently |
monospace | same effect as Chrome |
ui-serif | renders differently |
ui-sans-serif | renders differently |
ui-monospace | renders differently |
ui-rounded | not measured |
Measured against Chrome 148.0.7778.96 on 5 November 2026, with up to 40 candidate values tried per property. How it was measured