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

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

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