layout/reftests/font-face/src-list-local-full-quotes.html

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

michael@0 1 <!DOCTYPE HTML>
michael@0 2 <html>
michael@0 3 <head>
michael@0 4 <title>src local with full names</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 }
michael@0 13
michael@0 14 /* use full names */
michael@0 15
michael@0 16 @font-face {
michael@0 17 font-family: test-regular;
michael@0 18 src: local("Helvetica Neue"), local("Bitstream Vera Sans"), local("Bitstream Vera Sans Roman"), local("Free Sans"), local("SwissA"), local("DejaVu Sans"), local("Arial");
michael@0 19 }
michael@0 20
michael@0 21 /* use Helvetica on the Mac, since Futura has no bold face on 10.4, 10.5 */
michael@0 22 @font-face {
michael@0 23 font-family: test-bold;
michael@0 24 src: local("Helvetica Neue Bold"), local("Bitstream Vera Sans Bold"), local("Free Sans Bold"), local("SwissA Bold"), local("DejaVu Sans Bold"), local("Arial Bold");
michael@0 25 }
michael@0 26
michael@0 27 @font-face {
michael@0 28 font-family: test-italic;
michael@0 29 src: local("Helvetica Neue Italic"), local("Bitstream Vera Sans Oblique"), local("Free Sans Oblique"), local("SwissA Italic"), local("DejaVu Sans Oblique"), local("Arial Italic");
michael@0 30 }
michael@0 31
michael@0 32 .regular { font-family: test-regular, serif; }
michael@0 33 .bold { font-family: test-bold, serif; }
michael@0 34 .italic { font-family: test-italic, serif; }
michael@0 35
michael@0 36 </style>
michael@0 37
michael@0 38 <script type="text/javascript">
michael@0 39
michael@0 40 </script>
michael@0 41
michael@0 42 </head>
michael@0 43 <body>
michael@0 44
michael@0 45 <p class="regular">This should be a sans-serif face</p>
michael@0 46
michael@0 47 <p class="bold">This should be a bold sans-serif face</p>
michael@0 48
michael@0 49 <p class="italic">This should be an italic sans-serif face</p>
michael@0 50
michael@0 51 </body>
michael@0 52 </html>

mercurial