layout/reftests/font-matching/normalmedium-ref.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/font-matching/normalmedium-ref.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,42 @@
     1.4 +<!DOCTYPE HTML>
     1.5 +<html>
     1.6 +<head>
     1.7 +<title>Mapping 400 to medium</title>
     1.8 +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
     1.9 +  
    1.10 +<style type="text/css">
    1.11 +
    1.12 +body {
    1.13 +  margin: 50px;
    1.14 +}
    1.15 +
    1.16 +@font-face {
    1.17 +  font-family: mplus1p;
    1.18 +  src: url(../fonts/mplus/mplus-1p-light.ttf);
    1.19 +  font-weight: 200;
    1.20 +}
    1.21 +
    1.22 +@font-face {
    1.23 +  font-family: mplus1p;
    1.24 +  src: url(../fonts/mplus/mplus-1p-medium.ttf);
    1.25 +  font-weight: 500;
    1.26 +}
    1.27 +
    1.28 +p { font-size: 24pt; font-family: mplus1p; font-weight: normal; }
    1.29 +
    1.30 +</style>
    1.31 +  
    1.32 +<script type="text/javascript">
    1.33 +
    1.34 +</script>
    1.35 +  
    1.36 +</head>
    1.37 +<body>
    1.38 +
    1.39 +<h4>The two lines below should match</h4>
    1.40 +
    1.41 +<p id="test1">Fiddling fiddlesticks!</p>
    1.42 +<p id="test2">Fiddling fiddlesticks!</p>
    1.43 +
    1.44 +</body>
    1.45 +</html>
    1.46 \ No newline at end of file

mercurial