summaryrefslogtreecommitdiffstats
path: root/layout/reftests/font-matching/system-ui-fallback.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/reftests/font-matching/system-ui-fallback.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/layout/reftests/font-matching/system-ui-fallback.html b/layout/reftests/font-matching/system-ui-fallback.html
new file mode 100644
index 0000000000..1710dc1405
--- /dev/null
+++ b/layout/reftests/font-matching/system-ui-fallback.html
@@ -0,0 +1,9 @@
+<!doctype html>
+<!--
+ NOTE(emilio): The rendering _could_ be the same if the system-ui font
+ supported the glyphs, but we rely on it not doing so for now.
+
+ When we implement proper multi-lingual font support (at least on macOS), this
+ is expected to render the same
+-->
+<div style="font:36px system-ui, serif">你好</div>