diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
commit | 26a029d407be480d791972afb5975cf62c9360a6 (patch) | |
tree | f435a8308119effd964b339f76abb83a57c29483 /layout/reftests/font-features/alternates-order-ref.html | |
parent | Initial commit. (diff) | |
download | firefox-e51783d008170d9ab27d25da98ca3a38b0a41b67.tar.xz firefox-e51783d008170d9ab27d25da98ca3a38b0a41b67.zip |
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'layout/reftests/font-features/alternates-order-ref.html')
-rw-r--r-- | layout/reftests/font-features/alternates-order-ref.html | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/layout/reftests/font-features/alternates-order-ref.html b/layout/reftests/font-features/alternates-order-ref.html new file mode 100644 index 0000000000..6af3a76abe --- /dev/null +++ b/layout/reftests/font-features/alternates-order-ref.html @@ -0,0 +1,30 @@ +<!DOCTYPE html> +<html> +<head> +<style type="text/css"> +@font-face { + font-family: libertine; + src: url(../fonts/LinLibertine_Re-4.7.5.woff) format("woff"); +} +body { + font-family: libertine, sans-serif; + font-size: 800%; + line-height: 1.2em; +} + +div { margin: 0 20px; } +span { + font-feature-settings: "ss05"; /* crossed W */ +} + +/* tests that should NOT use the feature, due to case-sensitivity of font-feature-values names */ +#test2, #test3 { font-feature-settings: "ss05" off; } + +</style> +</head> +<body lang="en"> +<div><span id="test1">W</span> <span id="test2">W</span> <span id="test3">W</span></div> +<div><span id="test4">W</span> <span id="test5">W</span> <span id="test6">W</span></div> +<div><span id="test7">W</span> <span id="test8">W</span> <span id="test9">W</span></div> +</body> +</html> |