layout/reftests/font-features/annotations-ref.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/font-features/annotations-ref.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,71 @@
     1.4 +<!DOCTYPE HTML>
     1.5 +<html>
     1.6 +<head>
     1.7 +<title>Annotations test</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: 20px;
    1.14 +  font-size: 800%;
    1.15 +  font-family: Hiragino Maru Gothic ProN, Meiryo;
    1.16 +}
    1.17 +
    1.18 +/* for platforms without these fonts the default glyphs will show */
    1.19 +
    1.20 +@font-face {
    1.21 +  font-family: testMeiryo-circled;
    1.22 +  src: local(Meiryo);
    1.23 +  -moz-font-feature-settings: "nalt" 4;
    1.24 +}
    1.25 +
    1.26 +@font-face {
    1.27 +  font-family: testMeiryo-black-circled;
    1.28 +  src: local(Meiryo);
    1.29 +  -moz-font-feature-settings: "nalt" 5;
    1.30 +}
    1.31 +
    1.32 +@font-face {
    1.33 +  font-family: testMeiryo-rounded-box;
    1.34 +  src: local(Meiryo);
    1.35 +  -moz-font-feature-settings: "nalt" 9;
    1.36 +}
    1.37 +
    1.38 +@font-face {
    1.39 +  font-family: testHiraginoMaru-circled;
    1.40 +  src: local(HiraMaruProN-W4), local(Hiragino Maru Gothic ProN W4);
    1.41 +  -moz-font-feature-settings: "nalt" 1;
    1.42 +}
    1.43 +
    1.44 +@font-face {
    1.45 +  font-family: testHiraginoMaru-black-circled;
    1.46 +  src: local(HiraMaruProN-W4), local(Hiragino Maru Gothic ProN W4);
    1.47 +  -moz-font-feature-settings: "nalt" 4;
    1.48 +}
    1.49 +
    1.50 +@font-face {
    1.51 +  font-family: testHiraginoMaru-rounded-box;
    1.52 +  src: local(HiraMaruProN-W4), local(Hiragino Maru Gothic ProN W4);
    1.53 +  -moz-font-feature-settings: "nalt" 10;
    1.54 +}
    1.55 +
    1.56 +#test1 {
    1.57 +  font-family: testHiraginoMaru-circled, testMeiryo-circled;
    1.58 +}
    1.59 +
    1.60 +#test2 {
    1.61 +  font-family: testHiraginoMaru-black-circled, testMeiryo-black-circled;
    1.62 +}
    1.63 +
    1.64 +#test3 {
    1.65 +  font-family: testHiraginoMaru-rounded-box, testMeiryo-rounded-box;
    1.66 +}
    1.67 +
    1.68 +</style>
    1.69 +
    1.70 +</head>
    1.71 +<body>
    1.72 +<div><span id="test1">1</span> <span id="test2">2</span> <span id="test3">3</span></div>
    1.73 +</body>
    1.74 +</html>
    1.75 \ No newline at end of file

mercurial