layout/reftests/font-features/annotations.html

Wed, 31 Dec 2014 13:27:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 13:27:57 +0100
branch
TOR_BUG_3246
changeset 6
8bccb770b82d
permissions
-rw-r--r--

Ignore runtime configuration files generated during quality assurance.

     1 <!DOCTYPE HTML>
     2 <html>
     3 <head>
     4 <title>Annotations test</title>
     5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
     7 <style type="text/css">
     9 body {
    10   margin: 20px;
    11   font-size: 800%;
    12   font-family: Hiragino Maru Gothic ProN, Meiryo;
    13 }
    15 /* for platforms without these fonts the default glyphs will show */
    17 @font-feature-values Hiragino Maru Gothic ProN {
    18   @annotation { circled: 1; }
    19   @annotation { black-circled: 4; }
    20   @annotation { black-box: 8; }
    21   @annotation { black-rounded-box: 10; }
    22 }
    24 @font-feature-values Meiryo {
    25   @annotation { 
    26     circled: 4;
    27     black-circled: 5;
    28     black-box: 7;
    29     black-rounded-box: 9;
    30   }
    31 }
    33 #test1 {
    34   font-variant-alternates: annotation(circled);
    35 }
    37 #test2 {
    38   font-variant-alternates: annotation(black-circled);
    39 }
    41 #test3 {
    42   font-variant-alternates: annotation(black-rounded-box);
    43 }
    45 </style>
    47 </head>
    48 <body>
    49 <div><span id="test1">1</span> <span id="test2">2</span> <span id="test3">3</span></div>
    50 </body>
    51 </html>

mercurial