layout/reftests/font-face/multiple-descriptor-1.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/font-face/multiple-descriptor-1.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,26 @@
     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-US">
     1.7 +<head>
     1.8 +	<title></title>
     1.9 +	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    1.10 +	<style type="text/css">
    1.11 +
    1.12 +	/* The last descriptor in a given rule wins, per CSS 2.0 */
    1.13 +
    1.14 +	@font-face {
    1.15 +		font-family: "One";
    1.16 +		src: url(../fonts/markB.ttf);
    1.17 +		src: url(../fonts/markA.ttf);
    1.18 +		font-family: "Two";
    1.19 +	}
    1.20 +
    1.21 +	</style>
    1.22 +</head>
    1.23 +<body>
    1.24 +
    1.25 +<p style="font-family: One">ABC</p>
    1.26 +<p style="font-family: Two">ABC</p>
    1.27 +
    1.28 +</body>
    1.29 +</html>

mercurial