summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-fonts/system-ui-mixed.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-fonts/system-ui-mixed.html')
-rw-r--r--testing/web-platform/tests/css/css-fonts/system-ui-mixed.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-fonts/system-ui-mixed.html b/testing/web-platform/tests/css/css-fonts/system-ui-mixed.html
new file mode 100644
index 0000000000..a62bd216c7
--- /dev/null
+++ b/testing/web-platform/tests/css/css-fonts/system-ui-mixed.html
@@ -0,0 +1,14 @@
+<!doctype html>
+<html lang="en">
+<meta charset="utf-8">
+<title>Tests that system-ui font-family works for mixed-script content</title>
+<link rel="help" href="https://drafts.csswg.org/css-fonts/#system-ui-def">
+<link rel="author" title="Jonathan Kew" href="mailto:jkew@mozilla.com">
+<link rel="match" href="system-ui-mixed-ref.html">
+<style>
+p {
+ font-family: system-ui, serif;
+ font-size: 4em;
+}
+</style>
+<p lang="zh">你好 ¡hola! سلام</p>