diff options
author | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
---|---|---|
committer | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
commit | 5f8de423f190bbb79a62f804151bc24824fa32d8 (patch) | |
tree | 10027f336435511475e392454359edea8e25895d /layout/reftests/font-features/annotations.html | |
parent | 49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff) | |
download | UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip |
Add m-esr52 at 52.6.0
Diffstat (limited to 'layout/reftests/font-features/annotations.html')
-rw-r--r-- | layout/reftests/font-features/annotations.html | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/layout/reftests/font-features/annotations.html b/layout/reftests/font-features/annotations.html new file mode 100644 index 000000000..24574cf54 --- /dev/null +++ b/layout/reftests/font-features/annotations.html @@ -0,0 +1,51 @@ +<!DOCTYPE HTML> +<html> +<head> +<title>Annotations test</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + +<style type="text/css"> + +body { + margin: 20px; + font-size: 800%; + font-family: Hiragino Maru Gothic ProN, Meiryo; +} + +/* for platforms without these fonts the default glyphs will show */ + +@font-feature-values Hiragino Maru Gothic ProN { + @annotation { circled: 1; } + @annotation { black-circled: 4; } + @annotation { black-box: 8; } + @annotation { black-rounded-box: 10; } +} + +@font-feature-values Meiryo { + @annotation { + circled: 4; + black-circled: 5; + black-box: 7; + black-rounded-box: 9; + } +} + +#test1 { + font-variant-alternates: annotation(circled); +} + +#test2 { + font-variant-alternates: annotation(black-circled); +} + +#test3 { + font-variant-alternates: annotation(black-rounded-box); +} + +</style> + +</head> +<body> +<div><span id="test1">1</span> <span id="test2">2</span> <span id="test3">3</span></div> +</body> +</html>
\ No newline at end of file |