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

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
permissions
-rw-r--r--

Integrate suggestion from review to improve consistency with existing code.

michael@0 1 <!DOCTYPE HTML>
michael@0 2 <html>
michael@0 3 <head>
michael@0 4 <title>src local on load fallback</title>
michael@0 5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
michael@0 6
michael@0 7 <style type="text/css">
michael@0 8
michael@0 9 body {
michael@0 10 margin: 50px;
michael@0 11 font-size: 24pt;
michael@0 12 font-family: sans-serif;
michael@0 13 }
michael@0 14
michael@0 15 p { margin-left: 1em; }
michael@0 16
michael@0 17 p { font-family: Futura, Bitstream Vera Sans, DejaVu Sans, Arial, serif; }
michael@0 18
michael@0 19 </style>
michael@0 20
michael@0 21 <script type="text/javascript">
michael@0 22
michael@0 23 </script>
michael@0 24
michael@0 25 </head>
michael@0 26 <body>
michael@0 27
michael@0 28 <h4>These should appear in sans-serif face, not serif:</h4>
michael@0 29
michael@0 30 <p id="test0">Simple use of src local()</p>
michael@0 31
michael@0 32 <p id="test1">The URL for the font data is bogus</p>
michael@0 33
michael@0 34 <p id="test2">The URL exists but does not return font data</p>
michael@0 35
michael@0 36 <p id="test3">Same as above, but first local not found</p>
michael@0 37
michael@0 38 <p id="test4">Same as above, bogus url follows unknown local font</p>
michael@0 39
michael@0 40 </body>
michael@0 41 </html>

mercurial