1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/font-face/src-list-local-full.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,52 @@ 1.4 +<!DOCTYPE HTML> 1.5 +<html> 1.6 +<head> 1.7 +<title>src local with full names</title> 1.8 +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 1.9 + 1.10 +<style type="text/css"> 1.11 + 1.12 +body { 1.13 + margin: 50px; 1.14 + font-size: 24pt; 1.15 +} 1.16 + 1.17 +/* use full names */ 1.18 + 1.19 +@font-face { 1.20 + font-family: test-regular; 1.21 + src: local(Helvetica Neue), local(Bitstream Vera Sans), local(Bitstream Vera Sans Roman), local(Free Sans), local(SwissA), local(DejaVu Sans), local(Arial); 1.22 +} 1.23 + 1.24 +/* use Helvetica on the Mac, since Futura has no bold face on 10.4, 10.5 */ 1.25 +@font-face { 1.26 + font-family: test-bold; 1.27 + src: local(Helvetica Neue Bold), local(Bitstream Vera Sans Bold), local(Free Sans Bold), local(SwissA Bold), local(DejaVu Sans Bold), local(Arial Bold); 1.28 +} 1.29 + 1.30 +@font-face { 1.31 + font-family: test-italic; 1.32 + src: local(Helvetica Neue Italic), local(Bitstream Vera Sans Oblique), local(Free Sans Oblique), local(SwissA Italic), local(DejaVu Sans Oblique), local(Arial Italic); 1.33 +} 1.34 + 1.35 +.regular { font-family: test-regular, serif; } 1.36 +.bold { font-family: test-bold, serif; } 1.37 +.italic { font-family: test-italic, serif; } 1.38 + 1.39 +</style> 1.40 + 1.41 +<script type="text/javascript"> 1.42 + 1.43 +</script> 1.44 + 1.45 +</head> 1.46 +<body> 1.47 + 1.48 +<p class="regular">This should be a sans-serif face</p> 1.49 + 1.50 +<p class="bold">This should be a bold sans-serif face</p> 1.51 + 1.52 +<p class="italic">This should be an italic sans-serif face</p> 1.53 + 1.54 +</body> 1.55 +</html>