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

Thu, 15 Jan 2015 15:55:04 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:55:04 +0100
branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
permissions
-rw-r--r--

Back out 97036ab72558 which inappropriately compared turds to third parties.

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 @font-face {
michael@0 14 font-family: test;
michael@0 15 font-style: italic;
michael@0 16 src: local(Nimbus Sans L), local(NimbusSansL-Regu),
michael@0 17 local(Helvetica), local(Bitstream Vera Sans),
michael@0 18 local(Arial), local(Liberation Sans), local(SwissA),
michael@0 19 local(Fira Sans OT), local(Fira Sans),
michael@0 20 local(Droid Sans), local(Roboto);
michael@0 21 }
michael@0 22 @font-face {
michael@0 23 font-family: test;
michael@0 24 font-weight: bold;
michael@0 25 src: local(Nimbus Sans L), local(NimbusSansL-Regu),
michael@0 26 local(Helvetica), local(Bitstream Vera Sans),
michael@0 27 local(Arial), local(Liberation Sans), local(SwissA),
michael@0 28 local(Fira Sans OT), local(Fira Sans),
michael@0 29 local(Droid Sans), local(Roboto);
michael@0 30 }
michael@0 31 div {
michael@0 32 font-family: test, serif;
michael@0 33 margin: 10px;
michael@0 34 }
michael@0 35 </style>
michael@0 36 </head>
michael@0 37 <body>
michael@0 38 <div style="font-family:serif">
michael@0 39 This serif font should NOT be used below.
michael@0 40 </div>
michael@0 41 <hr>
michael@0 42 <div>
michael@0 43 These three lines should all use the same font face.
michael@0 44 </div>
michael@0 45 <div>
michael@0 46 <b>This line should NOT be bold.</b>
michael@0 47 </div>
michael@0 48 <div>
michael@0 49 <i>This line should NOT be italic.</i>
michael@0 50 </div>
michael@0 51 </body>
michael@0 52 </html>

mercurial