font
matches Chrome on some values: 10 of 12 examples match Chrome
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 2 that do not: font:xxx-large "X", font:oblique 30deg xx-small "X". They come first below, each with its difference map.
What the specification says
| Initial value | see individual properties |
|---|---|
| Applies to | all elements and text |
| Inherited | yes |
| Percentages | see individual properties |
| Computed value | see individual properties |
| Syntax | [ [ <'font-style'> || <font-variant-css2> || <'font-weight'> || <font-width-css3> ]? <'font-size'> [ / <'line-height'> ]? <'font-family'># ] | <system-font-family-name> |
The measurements
12 examples: two render differently and come first and ten match Chrome. 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:xxx-large "X"
renders differently

| Pixels that differ from Chrome | 13,786 |
|---|---|
| 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:oblique 30deg xx-small "X"
parsed, no effect

| Pixels that differ from Chrome | 32,269 |
|---|---|
| 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 |
Our page is the same with and without the declaration; Chrome’s page changes.
font:xx-small / 50% "X"
same effect as Chrome

| Pixels that differ from Chrome | 560 |
|---|---|
| The same, on the page without the declaration | 4,691 |
| Largest difference on one colour channel | 203 of 255 |
| The same, on the page without the declaration | 221 of 255 |
The pages differ by 560 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:xx-small system-ui
same effect as Chrome

| Pixels that differ from Chrome | 404 |
|---|---|
| The same, on the page without the declaration | 4,691 |
| Largest difference on one colour channel | 135 of 255 |
| The same, on the page without the declaration | 221 of 255 |
The pages differ by 404 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:50% "X"
same effect as Chrome

| Pixels that differ from Chrome | 492 |
|---|---|
| The same, on the page without the declaration | 4,691 |
| Largest difference on one colour channel | 198 of 255 |
| The same, on the page without the declaration | 221 of 255 |
The pages differ by 492 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:xx-small sans-serif
same effect as Chrome

| Pixels that differ from Chrome | 368 |
|---|---|
| The same, on the page without the declaration | 4,691 |
| Largest difference on one colour channel | 132 of 255 |
| The same, on the page without the declaration | 221 of 255 |
The pages differ by 368 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:bold xx-small "X", font:bolder xx-small "X"
same effect as Chrome

| Pixels that differ from Chrome | 670 |
|---|---|
| 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 670 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:x-small "X"
same effect as Chrome

| Pixels that differ from Chrome | 760 |
|---|---|
| The same, on the page without the declaration | 4,691 |
| Largest difference on one colour channel | 216 of 255 |
| The same, on the page without the declaration | 221 of 255 |
The pages differ by 760 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:italic xx-small "X", font:oblique xx-small "X"
same effect as Chrome

| Pixels that differ from Chrome | 638 |
|---|---|
| The same, on the page without the declaration | 4,691 |
| Largest difference on one colour channel | 200 of 255 |
| The same, on the page without the declaration | 221 of 255 |
The pages differ by 638 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:xx-small "X"
same effect as Chrome

| Pixels that differ from Chrome | 573 |
|---|---|
| The same, on the page without the declaration | 4,691 |
| Largest difference on one colour channel | 203 of 255 |
| The same, on the page without the declaration | 221 of 255 |
The pages differ by 573 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 54 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 |
|---|---|
xx-small "X" | same effect as Chrome |
normal xx-small "X" | not measured |
italic xx-small "X" | same effect as Chrome |
left xx-small "X" | not measured |
right xx-small "X" | not measured |
oblique xx-small "X" | same effect as Chrome |
oblique 30deg xx-small "X" | parsed, no effect |
small-caps xx-small "X" | not measured |
bold xx-small "X" | same effect as Chrome |
2 xx-small "X" | not measured |
bolder xx-small "X" | same effect as Chrome |
lighter xx-small "X" | not measured |
ultra-condensed xx-small "X" | not measured |
extra-condensed xx-small "X" | not measured |
condensed xx-small "X" | not measured |
semi-condensed xx-small "X" | not measured |
semi-expanded xx-small "X" | not measured |
expanded xx-small "X" | not measured |
extra-expanded xx-small "X" | not measured |
ultra-expanded xx-small "X" | not measured |
x-small "X" | same effect as Chrome |
small "X" | not measured |
medium "X" | not measured |
large "X" | not measured |
x-large "X" | not measured |
xx-large "X" | not measured |
xxx-large "X" | renders differently |
larger "X" | not measured |
smaller "X" | not measured |
20px "X" | not measured |
50% "X" | same effect as Chrome |
math "X" | not measured |
xx-small / 2 "X" | not measured |
xx-small / normal "X" | not measured |
xx-small / 20px "X" | not measured |
xx-small / 50% "X" | same effect as Chrome |
xx-small flexpdf | not measured |
xx-small serif | not measured |
xx-small sans-serif | same effect as Chrome |
xx-small system-ui | same effect as Chrome |
xx-small cursive | not measured |
xx-small fantasy | not measured |
xx-small math | not measured |
xx-small monospace | not measured |
xx-small ui-serif | not measured |
xx-small ui-sans-serif | not measured |
xx-small ui-monospace | not measured |
xx-small ui-rounded | not measured |
caption | not measured |
icon | not measured |
menu | not measured |
message-box | not measured |
small-caption | not measured |
status-bar | 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