1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/text/font-selection-fallback-1.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,41 @@ 1.4 +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" 1.5 + "http://www.w3.org/TR/html4/strict.dtd"> 1.6 +<html lang="en"> 1.7 +<head> 1.8 + <title>Test that language support doesn't override specified family - Bug 678561</title> 1.9 + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 1.10 + <style type="text/css"> 1.11 + 1.12 + @font-face { 1.13 + font-family: "MarkA"; 1.14 + src: url(../fonts/markA.ttf); 1.15 + } 1.16 + @font-face { 1.17 + font-family: "MarkB"; 1.18 + src: url(../fonts/markB.ttf); 1.19 + } 1.20 + @font-face { 1.21 + font-family: "DejaVu Sans Mono"; 1.22 + src: url(../fonts/DejaVuSansMono.otf); 1.23 + } 1.24 + 1.25 + .c1 { font-family: MarkA, MarkB, DejaVu Sans Mono; } 1.26 + 1.27 + .c2 { font-family: DejaVu Sans Mono, MarkA, MarkB; } 1.28 + 1.29 + /* to ensure the same vertical positioning of the text */ 1.30 + .spacer { line-height: 3em } 1.31 + </style> 1.32 +</head> 1.33 +<body> 1.34 + 1.35 +<p><span class="c1">A</span></p> 1.36 +<p><span class="c1">B</span><span class="spacer"></span></p> 1.37 +<p><span class="c1">C</span><span class="spacer"></span></p> 1.38 + 1.39 +<p class="c2">A</p> 1.40 +<p class="c2">B</p> 1.41 +<p class="c2">C</p> 1.42 + 1.43 +</body> 1.44 +</html>