ladybird/Tests/LibWeb/Layout/input/font-with-many-normal-values.html
Andreas Kling 6b3b056476 LibWeb: Support CSS font shorthand with up to 4 consecutive normal
All of the following properties in the font shorthand can be `normal`:

- font-style
- font-variant
- font-weight
- font-stretch

This means that we must allow up to four consecutive `normal` at the
start of a font shorthand value.
2023-07-04 16:25:23 +02:00

10 lines
356 B
HTML

<!doctype html><style>
.one { font: normal 200px/1 SerenitySans; }
.two { font: normal normal 200px/1 SerenitySans; }
.three { font: normal normal normal 200px/1 SerenitySans; }
.four { font: normal normal normal normal 200px/1 SerenitySans; }
</style>
<span class=one>1</span>
<span class=two>2</span>
<span class=three>3</span>
<span class=four>4</span>