diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:22:09 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:22:09 +0000 |
commit | 43a97878ce14b72f0981164f87f2e35e14151312 (patch) | |
tree | 620249daf56c0258faa40cbdcf9cfba06de2a846 /layout/reftests/font-matching/normalmedium-ref.html | |
parent | Initial commit. (diff) | |
download | firefox-upstream.tar.xz firefox-upstream.zip |
Adding upstream version 110.0.1.upstream/110.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'layout/reftests/font-matching/normalmedium-ref.html')
-rw-r--r-- | layout/reftests/font-matching/normalmedium-ref.html | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/layout/reftests/font-matching/normalmedium-ref.html b/layout/reftests/font-matching/normalmedium-ref.html new file mode 100644 index 0000000000..b8b8df4ce2 --- /dev/null +++ b/layout/reftests/font-matching/normalmedium-ref.html @@ -0,0 +1,42 @@ +<!DOCTYPE HTML> +<html> +<head> +<title>Mapping 400 to medium</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + +<style type="text/css"> + +body { + margin: 50px; +} + +@font-face { + font-family: mplus1p; + src: url(../fonts/mplus/mplus-1p-light.ttf); + font-weight: 200; +} + +@font-face { + font-family: mplus1p; + src: url(../fonts/mplus/mplus-1p-medium.ttf); + font-weight: 500; +} + +p { font-size: 24pt; font-family: mplus1p; font-weight: normal; } + +</style> + +<script type="text/javascript"> + +</script> + +</head> +<body> + +<h4>The two lines below should match</h4> + +<p id="test1">Fiddling fiddlesticks!</p> +<p id="test2">Fiddling fiddlesticks!</p> + +</body> +</html>
\ No newline at end of file |