Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
<head>
<title>CSS 2.1: Font matching algorithm</title>
<meta name="assert" content="That the 'UA-dependent default 'font-family'' described in step (5) does not vary based on the ancestor's font-family property." />
</head>
<body>
<div style="font-family: Arial, Helvetica, sans-serif">
<div style="font-family: FontDoesNotExist">
Every line of text in this page should be in the same font.
</div>
</div>
<div style="font-family: Arial, Helvetica">
<div style="font-family: FontDoesNotExist">
Every line of text in this page should be in the same font.
</div>
</div>
<div style="font-family: Arial">
<div style="font-family: FontDoesNotExist">
Every line of text in this page should be in the same font.
</div>
</div>
<div style="font-family: Times New Roman, Times, serif">
<div style="font-family: FontDoesNotExist">
Every line of text in this page should be in the same font.
</div>
</div>
<div style="font-family: Times New Roman, Times">
<div style="font-family: FontDoesNotExist">
Every line of text in this page should be in the same font.
</div>
</div>
<div style="font-family: Times New Roman">
<div style="font-family: FontDoesNotExist">
Every line of text in this page should be in the same font.
</div>
</div>
<div style="font-family: Courier New, Courier, monospace">
<div style="font-family: FontDoesNotExist">
Every line of text in this page should be in the same font.
</div>
</div>
<div style="font-family: Verdana">
<div style="font-family: FontDoesNotExist">
Every line of text in this page should be in the same font.
</div>
</div>
</body>
</html>