layout/reftests/font-face/local-styled-1-ref.html

Wed, 31 Dec 2014 06:55:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:55:50 +0100
changeset 2
7e26c7da4463
permissions
-rw-r--r--

Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2

michael@0 1 <!DOCTYPE html>
michael@0 2 <html>
michael@0 3 <head>
michael@0 4 <style type="text/css">
michael@0 5 @font-face {
michael@0 6 font-family: test;
michael@0 7 src: local(Nimbus Sans L), local(NimbusSansL-Regu),
michael@0 8 local(Helvetica), local(Bitstream Vera Sans),
michael@0 9 local(Arial), local(Liberation Sans), local(SwissA),
michael@0 10 local(Fira Sans OT), local(Fira Sans),
michael@0 11 local(Droid Sans), local(Roboto);
michael@0 12 }
michael@0 13 div {
michael@0 14 font-family: test, serif;
michael@0 15 margin: 10px;
michael@0 16 }
michael@0 17 </style>
michael@0 18 </head>
michael@0 19 <body>
michael@0 20 <div style="font-family:serif">
michael@0 21 This serif font should NOT be used below.
michael@0 22 </div>
michael@0 23 <hr>
michael@0 24 <div>
michael@0 25 These three lines should all use the same font face.
michael@0 26 </div>
michael@0 27 <div>
michael@0 28 This line should NOT be bold.
michael@0 29 </div>
michael@0 30 <div>
michael@0 31 This line should NOT be italic.
michael@0 32 </div>
michael@0 33 </body>
michael@0 34 </html>

mercurial