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.

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

mercurial