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/spacelookups-wordcache.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/spacelookups-wordcache.html')
-rw-r--r-- | layout/reftests/font-features/spacelookups-wordcache.html | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/layout/reftests/font-features/spacelookups-wordcache.html b/layout/reftests/font-features/spacelookups-wordcache.html new file mode 100644 index 000000000..a3bd642b2 --- /dev/null +++ b/layout/reftests/font-features/spacelookups-wordcache.html @@ -0,0 +1,76 @@ +<!DOCTYPE html> +<html> +<head> +<title>contextual substitutions for fonts with spaces in lookups</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<link rel="author" title="John Daggett" href="mailto:jdaggett@mozilla.com"/> +<meta name="bug" content="https://bugzilla.mozilla.org/show_bug.cgi?id=921858"/> +<style type="text/css"> + +@font-face { + font-family: spacelookup-defscr-deflang-deffeat; + src: url(../fonts/spacelookups/spacelookup-defscr-deflang-deffeat.ttf); +} + +@font-face { + font-family: spacelookup-defscr-deflang-ndeffeat; + src: url(../fonts/spacelookups/spacelookup-defscr-deflang-ndeffeat.ttf); +} + +@font-face { + font-family: spacelookup-latnscr-deflang-deffeat; + src: url(../fonts/spacelookups/spacelookup-latnscr-deflang-deffeat.ttf); +} + +@font-face { + font-family: spacelookup-latnscr-deflang-ndeffeat; + src: url(../fonts/spacelookups/spacelookup-latnscr-deflang-ndeffeat.ttf); +} + +@font-face { + font-family: spacelookup-latnscr-fralang-deffeat; + src: url(../fonts/spacelookups/spacelookup-latnscr-fralang-deffeat.ttf); +} + +@font-face { + font-family: spacelookup-latnscr-fralang-ndeffeat; + src: url(../fonts/spacelookups/spacelookup-latnscr-fralang-ndeffeat.ttf); +} + +body { + margin: 20px 40px; + line-height: 1.2; +} + +div { font-size: 200%; } + +p { margin: 0; line-height: 1.2; } + +.spacelookup-defscr-deflang-deffeat { font-family: spacelookup-defscr-deflang-deffeat; } +.spacelookup-defscr-deflang-ndeffeat { font-family: spacelookup-defscr-deflang-ndeffeat; } +.spacelookup-latnscr-deflang-deffeat { font-family: spacelookup-latnscr-deflang-deffeat; } +.spacelookup-latnscr-deflang-ndeffeat { font-family: spacelookup-latnscr-deflang-ndeffeat; } +.spacelookup-latnscr-fralang-deffeat { font-family: spacelookup-latnscr-fralang-deffeat; } +.spacelookup-latnscr-fralang-ndeffeat { font-family: spacelookup-latnscr-fralang-ndeffeat; } + +.dlig { + -webkit-font-feature-settings: "dlig" on; + font-feature-settings: "dlig" on; +} +</style> + +</head> +<body> +<div class="spacelookup-defscr-deflang-deffeat" lang="en"> +<p class="spacelookup-defscr-deflang-deffeat">latn-script default-script fra-lang default-lang non-default-feature default-feature</p> +<p class="spacelookup-latnscr-deflang-deffeat">latn-script default-script fra-lang default-lang non-default-feature default-feature</p> +<p class="spacelookup-latnscr-fralang-deffeat">latn-script default-script fra-lang default-lang non-default-feature default-feature</p> +<p class="spacelookup-defscr-deflang-ndeffeat">latn-script default-script fra-lang default-lang non-default-feature default-feature</p> +<p class="spacelookup-latnscr-deflang-ndeffeat">latn-script default-script fra-lang default-lang non-default-feature default-feature</p> +<p class="spacelookup-latnscr-fralang-ndeffeat">latn-script default-script fra-lang default-lang non-default-feature default-feature</p> +<p class="spacelookup-defscr-deflang-ndeffeat dlig">latn-script default-script fra-lang default-lang non-default-feature default-feature</p> +<p class="spacelookup-latnscr-deflang-ndeffeat dlig">latn-script default-script fra-lang default-lang non-default-feature default-feature</p> +<p class="spacelookup-latnscr-fralang-ndeffeat dlig">latn-script default-script fra-lang default-lang non-default-feature default-feature</p> +</div> +</body> +</html> |