1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/font-matching/CSS21-t1502-no-inherited-font-family.xhtml Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,61 @@ 1.4 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> 1.5 +<html xmlns="http://www.w3.org/1999/xhtml"> 1.6 + <head> 1.7 + <title>CSS 2.1: Font matching algorithm</title> 1.8 + <link rel="author" title="L. David Baron" href="http://dbaron.org/" /> 1.9 + <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" /> 1.10 + <link rel="help" href="http://www.w3.org/TR/CSS21/fonts.html#algorithm" /> 1.11 + <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." /> 1.12 + </head> 1.13 + <body> 1.14 + 1.15 +<div style="font-family: Arial, Helvetica, sans-serif"> 1.16 + <div style="font-family: FontDoesNotExist"> 1.17 + Every line of text in this page should be in the same font. 1.18 + </div> 1.19 +</div> 1.20 + 1.21 +<div style="font-family: Arial, Helvetica"> 1.22 + <div style="font-family: FontDoesNotExist"> 1.23 + Every line of text in this page should be in the same font. 1.24 + </div> 1.25 +</div> 1.26 + 1.27 +<div style="font-family: Arial"> 1.28 + <div style="font-family: FontDoesNotExist"> 1.29 + Every line of text in this page should be in the same font. 1.30 + </div> 1.31 +</div> 1.32 + 1.33 +<div style="font-family: Times New Roman, Times, serif"> 1.34 + <div style="font-family: FontDoesNotExist"> 1.35 + Every line of text in this page should be in the same font. 1.36 + </div> 1.37 +</div> 1.38 + 1.39 +<div style="font-family: Times New Roman, Times"> 1.40 + <div style="font-family: FontDoesNotExist"> 1.41 + Every line of text in this page should be in the same font. 1.42 + </div> 1.43 +</div> 1.44 + 1.45 +<div style="font-family: Times New Roman"> 1.46 + <div style="font-family: FontDoesNotExist"> 1.47 + Every line of text in this page should be in the same font. 1.48 + </div> 1.49 +</div> 1.50 + 1.51 +<div style="font-family: Courier New, Courier, monospace"> 1.52 + <div style="font-family: FontDoesNotExist"> 1.53 + Every line of text in this page should be in the same font. 1.54 + </div> 1.55 +</div> 1.56 + 1.57 +<div style="font-family: Verdana"> 1.58 + <div style="font-family: FontDoesNotExist"> 1.59 + Every line of text in this page should be in the same font. 1.60 + </div> 1.61 +</div> 1.62 + 1.63 + </body> 1.64 +</html>