layout/reftests/font-face/load-badfullname.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 <title>Test of fonts with funky fullnames</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 @font-face {
michael@0 10 font-family: test1;
michael@0 11 src: url(../fonts/markA-badfullname.ttf);
michael@0 12 }
michael@0 13
michael@0 14 @font-face {
michael@0 15 font-family: test2;
michael@0 16 src: url(../fonts/markA-shortfullname.ttf);
michael@0 17 }
michael@0 18
michael@0 19 body {
michael@0 20 margin: 50px;
michael@0 21 font-size: 12pt;
michael@0 22 font-family: Gill Sans, Futura, sans-serif;
michael@0 23 }
michael@0 24
michael@0 25 p.test1 { font-size: 48pt; font-family: test1, Futura, sans-serif; }
michael@0 26 p.test2 { font-size: 48pt; font-family: test2, Futura, sans-serif; }
michael@0 27
michael@0 28 </style>
michael@0 29
michael@0 30 </head>
michael@0 31 <body>
michael@0 32
michael@0 33 <p>Letter A should <strong>not</strong> appear below:</p>
michael@0 34
michael@0 35 <p class="test1">A</p>
michael@0 36
michael@0 37 <p class="test2">A</p>
michael@0 38
michael@0 39 </body>
michael@0 40 </html>

mercurial