layout/reftests/text/font-selection-fallback-1-ref.html

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

michael@0 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
michael@0 2 "http://www.w3.org/TR/html4/strict.dtd">
michael@0 3 <html lang="en">
michael@0 4 <head>
michael@0 5 <title>Reference for test that language support doesn't override
michael@0 6 specified family - Bug 678561</title>
michael@0 7 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
michael@0 8 <style type="text/css">
michael@0 9
michael@0 10 @font-face {
michael@0 11 font-family: "MarkA";
michael@0 12 src: url(../fonts/markA.ttf);
michael@0 13 }
michael@0 14 @font-face {
michael@0 15 font-family: "MarkB";
michael@0 16 src: url(../fonts/markB.ttf);
michael@0 17 }
michael@0 18 @font-face {
michael@0 19 font-family: "DejaVu Sans Mono";
michael@0 20 src: url(../fonts/DejaVuSansMono.otf);
michael@0 21 }
michael@0 22
michael@0 23 .c1 { font-family: MarkA; }
michael@0 24 .c2 { font-family: MarkB; }
michael@0 25 .c3 { font-family: DejaVu Sans Mono; }
michael@0 26
michael@0 27 /* to ensure the same vertical positioning of the text */
michael@0 28 .spacer { line-height: 3em }
michael@0 29 </style>
michael@0 30 </head>
michael@0 31 <body>
michael@0 32
michael@0 33 <p><span class="c1">A</span></p>
michael@0 34 <p><span class="c2">B</span><span class="spacer"></span></p>
michael@0 35 <p><span class="c3">C</span><span class="spacer"></span></p>
michael@0 36
michael@0 37 <p class="c3">A</p>
michael@0 38 <p class="c3">B</p>
michael@0 39 <p class="c3">C</p>
michael@0 40
michael@0 41 </body>
michael@0 42 </html>

mercurial