layout/reftests/font-face/src-list-local-fallback-ref.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/font-face/src-list-local-fallback-ref.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,41 @@
     1.4 +<!DOCTYPE HTML>
     1.5 +<html>
     1.6 +<head>
     1.7 +<title>src local on load fallback</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 +  font-family: sans-serif;
    1.16 +}
    1.17 +
    1.18 +p { margin-left: 1em; }
    1.19 +
    1.20 +p { font-family: Futura, Bitstream Vera Sans, DejaVu Sans, Arial, serif; }
    1.21 +
    1.22 +</style>
    1.23 +  
    1.24 +<script type="text/javascript">
    1.25 +
    1.26 +</script>
    1.27 +  
    1.28 +</head>
    1.29 +<body>
    1.30 +
    1.31 +<h4>These should appear in sans-serif face, not serif:</h4>
    1.32 +
    1.33 +<p id="test0">Simple use of src local()</p>
    1.34 +
    1.35 +<p id="test1">The URL for the font data is bogus</p>
    1.36 +
    1.37 +<p id="test2">The URL exists but does not return font data</p>
    1.38 +
    1.39 +<p id="test3">Same as above, but first local not found</p>
    1.40 +
    1.41 +<p id="test4">Same as above, bogus url follows unknown local font</p>
    1.42 +
    1.43 +</body>
    1.44 +</html>
    1.45 \ No newline at end of file

mercurial