diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
commit | 6bf0a5cb5034a7e684dcc3500e841785237ce2dd (patch) | |
tree | a68f146d7fa01f0134297619fbe7e33db084e0aa /layout/reftests/text/arabic-marks-1-ref.html | |
parent | Initial commit. (diff) | |
download | thunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.tar.xz thunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.zip |
Adding upstream version 1:115.7.0.upstream/1%115.7.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'layout/reftests/text/arabic-marks-1-ref.html')
-rw-r--r-- | layout/reftests/text/arabic-marks-1-ref.html | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/layout/reftests/text/arabic-marks-1-ref.html b/layout/reftests/text/arabic-marks-1-ref.html new file mode 100644 index 0000000000..78c86992aa --- /dev/null +++ b/layout/reftests/text/arabic-marks-1-ref.html @@ -0,0 +1,42 @@ +<!DOCTYPE html> +<html> +<head> +<meta charset="utf-8"> +<title>bug 873902 - marks should not affect width of Arabic text</title> +<style> +body { + background-color: white; + font-size: 50px; + margin: 20px; +} + +/* Try several fonts that should be available on Windows; at least Courier New is also on OS X. + Elsewhere, we may fall back to default, which may or may not be "interesting" to test, + but should pass harmlessly unless there's actually a broken font that shapes badly. */ +#a { + font-family: Andalus; +} +#b { + font-family: Courier New; +} +#c { + font-family: Simplified Arabic; +} + +.test { + color: white; +} +</style> +</head> +<body> +<div id="a"> +foo<span class="test">الرحمن الرحيم</span>bar +</div> +<div id="b"> +foo<span class="test">الرحمن الرحيم</span>bar +</div> +<div id="c"> +foo<span class="test">الرحمن الرحيم</span>bar +</div> +</body> +</html> |